I was thankful to see your reaction to my issue #453, but unfortunately GitPython 2.0.9 has some issues on Python 2.6. GitPython 2.0.8 worked like a charm for us.
The issues are:
- uses of dictionary comprehension in
git/cmd.py around line 800 (dict comprehensions were introduced in py27).
- use of SkipTest and skipIf from
unittest.case in git/util.py and in several test cases (these were added to unittest in py27). Also, the Python unittest docs suggest they be imported from unittest and not from unittest.case, but that is minor.
I have fixed those locally and will create a PR for your review.
I was thankful to see your reaction to my issue #453, but unfortunately GitPython 2.0.9 has some issues on Python 2.6. GitPython 2.0.8 worked like a charm for us.
The issues are:
git/cmd.pyaround line 800 (dict comprehensions were introduced in py27).unittest.caseingit/util.pyand in several test cases (these were added tounittestin py27). Also, the Pythonunittestdocs suggest they be imported fromunittestand not fromunittest.case, but that is minor.I have fixed those locally and will create a PR for your review.