summaryrefslogtreecommitdiff
path: root/git/util.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/util.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/util.py')
-rw-r--r--git/util.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/git/util.py b/git/util.py
index 1fa080a0..c96a6b08 100644
--- a/git/util.py
+++ b/git/util.py
@@ -17,13 +17,13 @@ import time
from functools import wraps
from git.compat import is_win
-from gitdb.util import ( # NOQA
+from gitdb.util import ( # NOQA
make_sha,
- LockedFD,
- file_contents_ro,
- LazyMixin,
- to_hex_sha,
- to_bin_sha
+ LockedFD, # @UnusedImport
+ file_contents_ro, # @UnusedImport
+ LazyMixin, # @UnusedImport
+ to_hex_sha, # @UnusedImport
+ to_bin_sha # @UnusedImport
)
import os.path as osp
@@ -251,7 +251,7 @@ class RemoteProgress(object):
# END could not get match
op_code = 0
- remote, op_name, percent, cur_count, max_count, message = match.groups()
+ remote, op_name, percent, cur_count, max_count, message = match.groups() # @UnusedVariable
# get operation id
if op_name == "Counting objects":