]> err.no Git - dak/commitdiff
Tidy check_lintian's 'log' closure
authorChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 11:29:46 +0000 (11:29 +0000)
committerChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 11:30:07 +0000 (11:30 +0000)
Thanks Enrico for calling it out.

Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index a18af9819180d025ec93c5c9e65aa0c5fffa87e4..d6267399774cf431df97db0695e97ee647ba59c7 100755 (executable)
@@ -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.