Merge pull request #67 from jmargeta/python_3_fix
Add GerberParser fix for Python 3.x
This commit is contained in:
commit
ea0643dcf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)]:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue