Skip to content

Commit

Permalink
lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Apr 15, 2020
1 parent 94ae95f commit ce8df3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion systemrdl/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def get_scope_path(self, scope_separator="::"):
field {} z;
} baz, xyz;
};
... results in:
* Field ``x`` of hierarchical path ``top.foo.x`` was declared in the
Expand Down
1 change: 0 additions & 1 deletion systemrdl/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ def find_by_path(self, path):
pathparts = path.split('.')
current_node = self
for pathpart in pathparts:

# If parent reference, jump upwards
if pathpart == "^":
if current_node.parent is not None:
Expand Down

0 comments on commit ce8df3b

Please sign in to comment.