Rev 65: Fix handling of argument. in file:///home/jelmer/bzr-submit/trunk/

Jelmer Vernooij jelmer at samba.org
Sun Apr 15 02:00:36 BST 2007


At file:///home/jelmer/bzr-submit/trunk/

------------------------------------------------------------
revno: 65
revision-id: jelmer at samba.org-20070415010032-81qmfaig3xaeq82a
parent: jelmer at samba.org-20070411152540-4m0xbn3k0myd2208
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sun 2007-04-15 03:00:32 +0200
message:
  Fix handling of argument.
modified:
  __init__.py                    __init__.py-20060624164558-9aabyghnw7kxeuwg-1
=== modified file '__init__.py'
--- a/__init__.py	2007-04-11 15:25:40 +0000
+++ b/__init__.py	2007-04-15 01:00:32 +0000
@@ -32,7 +32,7 @@
     an command-alias for each project. 
     """
 
-    takes_args = ['submit-location?']
+    takes_args = ['submit_location?']
     takes_options = ['message',
                      'revision',
                      'remember',
@@ -53,7 +53,8 @@
                     ]
     aliases = ['submit']
 
-    def run(self, submit_location=None, from_address=None, revision=None, **parameters):
+    def run(self, submit_location=None, from_address=None, revision=None, 
+            **parameters):
         from submit_helpers import submit_bundle
         from bzrlib.branch import Branch
 




More information about the bazaar-commits mailing list