From 30644161c7b879ce71446b6e779186c0dea37e88 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 4 Nov 2009 15:27:45 +0200 Subject: [PATCH] qadmin: fix style problems --- python/qadmin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/qadmin.py b/python/qadmin.py index 4ab3999d..f2a0a23d 100755 --- a/python/qadmin.py +++ b/python/qadmin.py @@ -71,7 +71,7 @@ IGNORE_HOSTS = { 'ip6-mcastprefix': 1, } -def unquote_any(self, s): +def unquote_any(s): if s: c = s[0] if c == "'": @@ -184,7 +184,7 @@ class DynIdentList(DynList): """Allow quoted queue names""" next = DynList.get_next(self, typ, word, params) if next: - params[self.name] = unquote_any(self, word) + params[self.name] = unquote_any(word) return next class Queue(DynIdentList): @@ -376,6 +376,7 @@ class AdminConsole: 'user_list': None, } db = None + initial_connstr = None rc_hosts = re.compile('\s+') def get_queue_list(self): -- 2.39.5