X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdaklog.py;h=856dc84103b385f5be41f799c3543ad8ad433d3b;hb=8d2c584e078a628f7c510b0b375bfb23fc027d5f;hp=d4c7867d7179c45e5447af5bb2cf5a9d9df7a020;hpb=ebed01190083b1dee29ea9be0e9e9f7ccd2e3757;p=dak.git diff --git a/daklib/daklog.py b/daklib/daklog.py index d4c7867d..856dc841 100644 --- a/daklib/daklog.py +++ b/daklib/daklog.py @@ -46,6 +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 = list(args) args.pop(0) self.__setup(*args, **kwargs)