From e2baddaa67c0f22d42aff35dde78f09c72ab63a5 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 29 Mar 2011 21:10:03 +0100 Subject: [PATCH] Get syntax right Signed-off-by: Mark Hymers --- daklib/daklog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.5