mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
3693c32d4b
commit
845bf3c325
5 files changed
+16
-13
No files matched your search
@@ -374,8 +374,8 @@ class BoundaryCondition(SQLSubModel):
|
||||
|
||||
def reach(self, river):
|
||||
edges = []
|
||||
if self._node != None:
|
||||
if river != None:
|
||||
if self._node is not None:
|
||||
if river is not None:
|
||||
for edge in river.edges():
|
||||
if edge.node1.name == self._node.name:
|
||||
edges.append(edge.reach)
|
||||
|
||||
Reference in new issue
Block a user