changeset 45442:7a57ced7de87

git: remove unrequired assignment of listignored and listunknown Caught by test-check-pyflakes.t
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 10 Sep 2020 17:03:38 +0530
parents e47385ef4e17
children f52b0297acc8
files hgext/git/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = (
             [],