]> git.decadent.org.uk Git - dak.git/commitdiff
Get syntax right
authorMark Hymers <mhy@debian.org>
Tue, 29 Mar 2011 20:10:03 +0000 (21:10 +0100)
committerMark Hymers <mhy@debian.org>
Tue, 29 Mar 2011 20:10:03 +0000 (21:10 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/daklog.py

index b278721a48405d34a36bacd81e449b63e6f42eaf..856dc84103b385f5be41f799c3543ad8ad433d3b 100644 (file)
@@ -46,7 +46,8 @@ class Logger(object):
             # To be backwards compatibile, dump the first argument if it's a
             # Config object.  TODO: Fix up all callers and remove this
             if len(args) > 0 and isinstance(args[0], Config):
-                args=list(args).pop(0)
+                args = list(args)
+                args.pop(0)
 
             self.__setup(*args, **kwargs)