summaryrefslogtreecommitdiff
path: root/git/refs
diff options
context:
space:
mode:
authorAnil Khatri <anil.soccer.khatri@gmail.com>2019-10-23 23:06:48 +0530
committerAnil Khatri <anil.soccer.khatri@gmail.com>2019-10-23 23:06:48 +0530
commit5eb8289e80c8b9fe48456e769e0421b7f9972af3 (patch)
tree98a7e88b0a1df5f0ba741f476945c3d57a19e655 /git/refs
parent607d8aa3461e764cbe008f2878c2ac0fa79cf910 (diff)
downloadgitpython-5eb8289e80c8b9fe48456e769e0421b7f9972af3.tar.gz
fix Loop variable used outside the loop
Diffstat (limited to 'git/refs')
-rw-r--r--git/refs/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py
index 8d557902..01673ae0 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -228,7 +228,7 @@ class RefLog(list, Serializable):
# END abort on eof
# END handle runup
- if i != index or not line:
+ if i != index or not line: # skipcq:PYL-W0631
raise IndexError
# END handle exception