[cw-shell] do not set arbitrary limit on number of arguments stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 09 Feb 2010 08:15:20 +0100
branchstable
changeset 4524 2eb36514ad6d
parent 4505 a82af6b000f2
child 4525 956a0630abc8
child 4554 2279ba039494
child 4557 a0571ff0cb5d
[cw-shell] do not set arbitrary limit on number of arguments
cwctl.py
--- a/cwctl.py	Mon Feb 08 15:28:34 2010 +0100
+++ b/cwctl.py	Tue Feb 09 08:15:20 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