summaryrefslogtreecommitdiff
path: root/python/qadmin.py
diff options
context:
space:
mode:
authorMarko Kreen2009-11-04 13:27:45 +0000
committerMarko Kreen2009-11-04 13:27:45 +0000
commit30644161c7b879ce71446b6e779186c0dea37e88 (patch)
tree1676fb095a8507f0a5ed56e147747bbe8d7838e2 /python/qadmin.py
parent1e6a6f36292e582b43045ff578d272749823bb9f (diff)
qadmin: fix style problems
Diffstat (limited to 'python/qadmin.py')
-rwxr-xr-xpython/qadmin.py5
1 files 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):