Skip to content

Commit

Permalink
Fixed minor bug with getting nested attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Locustv2 committed Feb 21, 2019
1 parent 923836f commit e218bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ activate:
pipenv shell

setup:
pipenv install -e .
pipenv install -e . --skip-lock --ignore-pipfile -v

test:
pipenv run python setup.py test
2 changes: 1 addition & 1 deletion rebase/core/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def get(self, *attrs) -> Dict[str, Any]:
"""
return {
k: v.get(*v.attributes)
k: v.attributes
if isinstance(v, Object) else [
x.attributes
if isinstance(x, Object) else x
Expand Down

0 comments on commit e218bde

Please sign in to comment.