backport stable branch
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 09 Feb 2010 08:16:29 +0100
changeset 4525 956a0630abc8
parent 4512 e7ac20bf3629 (current diff)
parent 4524 2eb36514ad6d (diff)
child 4526 75dff36ff7a3
backport stable branch
cwctl.py
--- a/cwctl.py	Mon Feb 08 22:41:07 2010 +0100
+++ b/cwctl.py	Tue Feb 09 08:16:29 2010 +0100
@@ -763,7 +763,7 @@
         )
 
     def run(self, args):
-        appid = pop_arg(args, 99, msg="No instance specified !")
+        appid = pop_arg(args, None, msg="No instance specified !")
         if self.config.pyro:
             from cubicweb import AuthenticationError
             from cubicweb.dbapi import connect