From 886e2d22a3b1e0cbb4f1d248a2250571512a185a Mon Sep 17 00:00:00 2001 From: Thomas Viehmann Date: Tue, 7 Oct 2008 20:13:27 +0000 Subject: [PATCH] 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 81c117b1..e718f74a 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -105,7 +105,7 @@ def table_row(changesname, delay, changed_by, closes): res = ''%((row_number%2) and 'odd' or 'even') res += (3*'%s')%tuple(map(html_escape,(changesname,delay,changed_by))) - res += ('%s' % + res += ('%s' % ''.join(map(lambda close: '#%s
' % (close, close),closes))) res += '\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 1d9f3c0b..5c7bd838 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()) - -- 2.39.5