mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1057 (40ee8584myg8XmLDN-LhS0RxAdp2Pg)
Fix getopt to return a value.
This commit is contained in:
1 parent
78b6ebaf5d
commit
ec528e4bf8
1 file changed
+1
-1
@@ -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.
|
||||
|
||||