| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
LGTM |
Sorry, something went wrong.
|
Thanks for the review @jbrockmendel! |
Sorry, something went wrong.
This was originally dead code, because an indentation error had `__repr__` defined after the `return` statement in `__str__`. The definition of the `__repr__` is also changed to be more in line with the conception of a repr as "what you would have to evalue to get this object". Even though this is not guaranteed behavior, this commit also adds a regression test to avoid simple errors like this in the future.
| Back | FazBrowse Home | New Git URL |
Summary of changes
This was originally dead code, because an indentation error had __repr__ defined after the return statement in __str__. The definition of the __repr__ is also changed to be more in line with the conception of a repr as "what you would have to evalue to get this object".
Even though this is not guaranteed behavior, this commit also adds a regression test to avoid simple errors like this in the future.
Closes #991
Pull Request Checklist