X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdaklog.py;h=b278721a48405d34a36bacd81e449b63e6f42eaf;hb=7e692c9288506bd931232ae14987febb6ea8ecfb;hp=d4c7867d7179c45e5447af5bb2cf5a9d9df7a020;hpb=ebed01190083b1dee29ea9be0e9e9f7ccd2e3757;p=dak.git 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)