From: Helmut Grohne Date: Thu, 15 May 2014 18:34:25 +0000 (+0200) Subject: visually fix daklib.utils.parse_wnpp_bug_file X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f0d3e4d3003954a9745a4c71665185e24565618f;hp=cef9cea84f51cacb08d6096abe770527eba6865d;p=dak.git visually fix daklib.utils.parse_wnpp_bug_file The file asks Vim to set tabstop=4. So the "lines = []" line formerly being indented with a tab appears to be executed unconditionally whereas it really only is executed in the exception handler. Signed-off-by: Helmut Grohne Signed-off-by: Helmut Grohne --- diff --git a/daklib/utils.py b/daklib/utils.py index f2a79041..3175e987 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1567,7 +1567,7 @@ def parse_wnpp_bug_file(file = "/srv/ftp-master.debian.org/scripts/masterfiles/w lines = f.readlines() except IOError as e: print "Warning: Couldn't open %s; don't know about WNPP bugs, so won't close any." % file - lines = [] + lines = [] wnpp = {} for line in lines: