From 5eb8289e80c8b9fe48456e769e0421b7f9972af3 Mon Sep 17 00:00:00 2001 From: Anil Khatri Date: Wed, 23 Oct 2019 23:06:48 +0530 Subject: fix Loop variable used outside the loop --- git/objects/submodule/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/objects/submodule/base.py') 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) -- cgit v1.2.1