From a469af892b3e929cbe9d29e414b6fcd59bec246e Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Mon, 3 Oct 2016 23:35:55 +0200 Subject: 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 --- git/repo/fun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/repo/fun.py') 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 == "^": -- cgit v1.2.3