Skip to content

Commit

Permalink
fixing style refs #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 3, 2024
1 parent 7e6c6a8 commit c470aa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/sumolib/net/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def __init__(self, id, allow, disallow):
self.allow = allow
self.disallow = disallow


class Net:

"""The whole sumo network."""
Expand All @@ -185,7 +186,7 @@ def __init__(self):
# store dijsktra heap for reuse if the same origin is used repeatedly
self._shortestPathCache = None
self._version = None
self._edgeTypes = defaultdict(lambda : EdgeType("DEFAULT_EDGETYPE", "", ""))
self._edgeTypes = defaultdict(lambda: EdgeType("DEFAULT_EDGETYPE", "", ""))

def getVersion(self):
return self._version
Expand Down

0 comments on commit c470aa9

Please sign in to comment.