[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 2/4] Tidy check_lintian's 'log' closure



Thanks Enrico for calling it out.

Signed-off-by: Chris Lamb <lamby@debian.org>
---
 daklib/queue.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/daklib/queue.py b/daklib/queue.py
index a18af98..d626739 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -1254,9 +1254,7 @@ class Upload(object):
 
         def log(*txt):
             if self.logger:
-                args = [self.pkg.changes_file, "check_lintian"]
-                args.extend(txt)
-                self.logger.log(args)
+                self.logger.log([self.pkg.changes_file, "check_lintian"] + list(txt))
 
         # We have output of lintian, this package isn't clean. Lets parse it and see if we
         # are having a victim for a reject.
-- 
1.6.3.3



Reply to: