| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Kwargs were not transformed correctly if a value was set to 0 due to wrong if condition. Signed-off-by: František Nečas <fifinecas@seznam.cz>
|
Thanks a lot! Fantastic test and fix! I hope putting it into v3.0.0 which drops python 2 as well is working for you. |
Sorry, something went wrong.
|
Thanks for merging. We will use my branch as a dependency until v3.0.0 is released on PyPI to have it working correctly for now and then we will switch back to the PyPI release. |
Sorry, something went wrong.
|
Would it be possible to backport this fix to v2.X as well? We are relying on this package and unfortunately haven't dropped Python 2 support just yet. |
Sorry, something went wrong.
|
@kangp3 Thus far, maintaining two versions wasn't planned, but I will see if I can get a one-off release done. Published in release v2.1.14 . |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
While working on our project I found that old_repo.git.rev_list('HEAD', max_parents=0) started to work differently after the new release of GitPython and our tests started to fail. After some debugging I found the problem. Kwargs were not transformed correctly if a value was set to 0 due to wrong if condition:
The commit also contains a test for the edge case.