[dak/security] whitespace sanitizing
---
dak/show_deferred.py | 6 +++---
daklib/database.py | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dak/show_deferred.py b/dak/show_deferred.py
index 81c117b..e718f74 100755
--- a/dak/show_deferred.py
+++ b/dak/show_deferred.py
@@ -105,7 +105,7 @@ def table_row(changesname, delay, changed_by, closes):
res = '<tr class="%s">'%((row_number%2) and 'odd' or 'even')
res += (3*'<td valign="top">%s</td>')%tuple(map(html_escape,(changesname,delay,changed_by)))
- res += ('<td valign="top">%s</td>' %
+ res += ('<td valign="top">%s</td>' %
''.join(map(lambda close: '<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s">#%s</a><br>' % (close, close),closes)))
res += '</tr>\n'
row_number+=1
@@ -169,7 +169,7 @@ def usage (exit_code=0):
-p, --html-path [path] override output directory.
"""
sys.exit(exit_code)
-
+
def init():
global Cnf, Options, Upload, projectB
Cnf = utils.get_conf()
@@ -190,7 +190,7 @@ def main():
args = init()
if len(args)!=1:
usage(1)
-
+
filelist = []
for r,d,f in os.walk(args[0]):
filelist += map (lambda x: os.path.join(r,x),
diff --git a/daklib/database.py b/daklib/database.py
index 1d9f3c0..5c7bd83 100755
--- a/daklib/database.py
+++ b/daklib/database.py
@@ -397,4 +397,3 @@ def get_suites(pkgname, src=False):
sql = "select suite_name from binaries, bin_associations,suite where binaries.id=bin_associations.bin and package='%s' and bin_associations.suite = suite.id"%pkgname
q = projectB.query(sql)
return map(lambda x: x[0], q.getresult())
-
--
1.5.6.5
Reply to: