]> git.donarmstrong.com Git - dak.git/blobdiff - daklib/queue.py
Tidy check_lintian's 'log' closure
[dak.git] / 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.