From 7e692c9288506bd931232ae14987febb6ea8ecfb Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 29 Mar 2011 21:09:04 +0100 Subject: [PATCH] Deal with args being a tuple Signed-off-by: Mark Hymers --- daklib/daklog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/daklog.py b/daklib/daklog.py index d4c7867d..b278721a 100644 --- a/daklib/daklog.py +++ b/daklib/daklog.py @@ -46,7 +46,7 @@ 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.pop(0) + args=list(args).pop(0) self.__setup(*args, **kwargs) -- 2.39.5