bitkeeper revision 1.1057 (40ee8584myg8XmLDN-LhS0RxAdp2Pg)

Fix getopt to return a value.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-07-09 11:46:12 +00:00
1 parent 78b6ebaf5d
commit ec528e4bf8
1 file changed
+1 -1
+1 -1
View File
@@ -242,7 +242,7 @@ class Opts:
"""Get an option value.
An option value can also be got using 'opts.vals.name'.
"""
getattr(self.vals, name)
return getattr(self.vals, name)
def specified(self, name):
"""Test if an option has been specified.
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.