]> git.decadent.org.uk Git - dak.git/commitdiff
gps2: fix logging call
authorJulien Cristau <jcristau@debian.org>
Sat, 21 May 2016 13:55:49 +0000 (15:55 +0200)
committerJulien Cristau <jcristau@debian.org>
Sat, 21 May 2016 13:57:58 +0000 (15:57 +0200)
The multiprocessing workers return a list already, no need to embed that
in another one.

This should change logging from
generate-packages-sources2|dak|['generate-packages', 'unstable', 'main', 's390x']
to
generate-packages-sources2|dak|generate-packages|unstable|main|s390x

Signed-off-by: Julien Cristau <jcristau@debian.org>
dak/generate_packages_sources2.py

index 51d8e9b8d8f894fdb832d113122e81c1c459c9c0..0f1f5f85634b4d5ef6f7c91cfc520372c8e30453 100755 (executable)
@@ -403,7 +403,7 @@ def main():
         # Split out into (code, msg)
         code, msg = message
         if code == PROC_STATUS_SUCCESS:
-            logger.log([msg])
+            logger.log(msg)
         elif code == PROC_STATUS_SIGNALRAISED:
             logger.log(['E: Subprocess recieved signal ', msg])
         else: