summaryrefslogtreecommitdiff
path: root/git/repo/fun.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-03 23:35:55 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-04 02:10:48 +0200
commita469af892b3e929cbe9d29e414b6fcd59bec246e (patch)
treef1ab9ed8946b3be2bb7ed1d3529ad5c0f348f550 /git/repo/fun.py
parentbe44602b633cfb49a472e192f235ba6de0055d38 (diff)
downloadgitpython-a469af892b3e929cbe9d29e414b6fcd59bec246e.tar.gz
src: No PyDev warnings
+ Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines
Diffstat (limited to 'git/repo/fun.py')
-rw-r--r--git/repo/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/fun.py b/git/repo/fun.py
index 0483eaa9..320eb1c8 100644
--- a/git/repo/fun.py
+++ b/git/repo/fun.py
@@ -284,7 +284,7 @@ def rev_parse(repo, rev):
try:
if token == "~":
obj = to_commit(obj)
- for item in xrange(num):
+ for _ in xrange(num):
obj = obj.parents[0]
# END for each history item to walk
elif token == "^":