bitkeeper revision 1.1041.9.2 (40eac5d7QK5-_Ap_TCZ0_9b3ykFACA)

Fix for args that aren't variable assigns.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-07-06 15:31:35 +00:00
1 parent 8533ad9cf6
commit 6cff3d537c
1 file changed
+8 -4
+8 -4
View File
@@ -283,10 +283,14 @@ class Opts:
self.usage()
xargs = []
for arg in args:
(k, v) = arg.split('=', 1)
for opt in self.options:
if opt.specify(k, v): break
else:
isvar = 0
if '=' in arg:
(k, v) = arg.split('=', 1)
for opt in self.options:
if opt.specify(k, v):
isvar = 1
break
if not isvar:
xargs.append(arg)
return xargs
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.