[Reproducible-commits] [debbindiff] 01/06: changed_files will always defined (appease pylint)

Chris Lamb lamby at moszumanska.debian.org
Tue Feb 3 11:57:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository debbindiff.

commit bd5a42425b0165be2f6390227b050c7963e4d2b2
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Feb 3 11:52:30 2015 +0000

    changed_files will always defined (appease pylint)
---
 debbindiff/changes.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debbindiff/changes.py b/debbindiff/changes.py
index d107042..d9f3577 100644
--- a/debbindiff/changes.py
+++ b/debbindiff/changes.py
@@ -314,6 +314,7 @@ class Changes(object):
                 checksums = self.get("Files")
                 field_name = "md5sum"
 
+            changed_files = None # appease pylint
             for changed_files in checksums:
                 if changed_files['name'] == os.path.basename(filename):
                     break

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git



More information about the Reproducible-commits mailing list