summaryrefslogtreecommitdiff
path: root/gerber/rs274x.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/rs274x.py')
-rw-r--r--gerber/rs274x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py
index 5191fb7..813b246 100644
--- a/gerber/rs274x.py
+++ b/gerber/rs274x.py
@@ -740,7 +740,7 @@ class GerberParser(object):
# from start and end). We select the center with the least error in
# radius from all the options with a valid sweep angle.
- sqdist_diff_min = sys.maxint
+ sqdist_diff_min = sys.maxsize
center = None
for factors in [(1, 1), (1, -1), (-1, 1), (-1, -1)]: