Skip to content

Commit 8b936f8

Browse files
committed
fixing style refs #12
1 parent c513291 commit 8b936f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/shapes/poly2edgedata.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
4545
sys.path.append(os.path.join(THIS_DIR, '..'))
4646
import sumolib # noqa
47-
import sumolib.geomhelper as gh #noqa
47+
import sumolib.geomhelper as gh # noqa
4848

4949
PATCH_NONE = 'None'
5050

@@ -181,8 +181,8 @@ def main(options):
181181
gh.positionAtShapeOffset(eShape, offset2))
182182
revAngle = gh.angleTo2D(gh.positionAtShapeOffset(eShape, offset2),
183183
gh.positionAtShapeOffset(eShape, offset1))
184-
if (degrees(fabs(polyAngle - angle)) < options.atol or
185-
degrees(fabs(polyAngle - revAngle)) < options.atol):
184+
if ((degrees(fabs(polyAngle - angle)) < options.atol or
185+
degrees(fabs(polyAngle - revAngle)) < options.atol)):
186186
cands.append(e)
187187
edges = cands
188188
if not edges:

0 commit comments

Comments
 (0)