From: Mark Hymers Date: Tue, 29 Mar 2011 20:10:03 +0000 (+0100) Subject: Get syntax right X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=e2baddaa67c0f22d42aff35dde78f09c72ab63a5;p=dak.git Get syntax right Signed-off-by: Mark Hymers --- diff --git a/daklib/daklog.py b/daklib/daklog.py index b278721a..856dc841 100644 --- a/daklib/daklog.py +++ b/daklib/daklog.py @@ -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)