git: remove unrequired assignment of listignored and listunknown
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 10 Sep 2020 17:03:38 +0530
changeset 45442 7a57ced7de87
parent 45441 e47385ef4e17
child 45443 f52b0297acc8
git: remove unrequired assignment of listignored and listunknown Caught by test-check-pyflakes.t
hgext/git/dirstate.py
--- a/hgext/git/dirstate.py	Wed Sep 09 11:41:18 2020 +0900
+++ b/hgext/git/dirstate.py	Thu Sep 10 17:03:38 2020 +0530
@@ -129,7 +129,7 @@
             return False
 
     def status(self, match, subrepos, ignored, clean, unknown):
-        listignored, listclean, listunknown = ignored, clean, unknown
+        listclean = clean
         # TODO handling of clean files - can we get that from git.status()?
         modified, added, removed, deleted, unknown, ignored, clean = (
             [],