diff options
author | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-23 23:06:48 +0530 |
---|---|---|
committer | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-23 23:06:48 +0530 |
commit | 5eb8289e80c8b9fe48456e769e0421b7f9972af3 (patch) | |
tree | 98a7e88b0a1df5f0ba741f476945c3d57a19e655 /git/objects/submodule/base.py | |
parent | 607d8aa3461e764cbe008f2878c2ac0fa79cf910 (diff) | |
download | gitpython-5eb8289e80c8b9fe48456e769e0421b7f9972af3.tar.gz |
fix Loop variable used outside the loop
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r-- | git/objects/submodule/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index bc76bcce..fe2859c6 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -846,7 +846,7 @@ class Submodule(IndexObject, Iterable, Traversable): # have to manually delete references as python's scoping is # not existing, they could keep handles open ( on windows this is a problem ) if len(rrefs): - del(rref) + del(rref) # skipcq:PYL-W0631 # END handle remotes del(rrefs) del(remote) |