summaryrefslogtreecommitdiff
path: root/lib/svg
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 21:43:09 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 21:43:09 -0400
commit908f2cd7727e939b87e3f57c1d3a189705de4c94 (patch)
treed0a868121190fb0ae4cae2b9ee7ae199d5230ef0 /lib/svg
parent94f391ab4262b5e1c8dace0263467a0ec1f17058 (diff)
pyflakes fixes
Diffstat (limited to 'lib/svg')
-rw-r--r--lib/svg/path.py1
-rw-r--r--lib/svg/realistic_rendering.py2
-rw-r--r--lib/svg/units.py1
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/svg/path.py b/lib/svg/path.py
index 51100e38..4502b2ea 100644
--- a/lib/svg/path.py
+++ b/lib/svg/path.py
@@ -1,5 +1,4 @@
import simpletransform
-import cubicsuperpath
from .units import get_viewbox_transform
diff --git a/lib/svg/realistic_rendering.py b/lib/svg/realistic_rendering.py
index 5af7e9a6..73da3a09 100644
--- a/lib/svg/realistic_rendering.py
+++ b/lib/svg/realistic_rendering.py
@@ -2,7 +2,7 @@ import simplepath
import math
from .units import PIXELS_PER_MM
-from ..utils import cache, Point
+from ..utils import Point
# The stitch vector path looks like this:
# _______
diff --git a/lib/svg/units.py b/lib/svg/units.py
index 585afab4..c4ec82a0 100644
--- a/lib/svg/units.py
+++ b/lib/svg/units.py
@@ -1,6 +1,7 @@
import simpletransform
from ..utils import cache
+from ..i18n import _
# modern versions of Inkscape use 96 pixels per inch as per the CSS standard
PIXELS_PER_MM = 96 / 25.4