Make sure OptVals.quiet is always present (fixes xm shutdown -w).

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
This commit is contained in:
Brendan Cully committed 2007-01-31 11:05:36 -08:00
1 parent ed40790462
commit 350318c598
1 file changed
+2 -2
+2 -2
View File
@@ -250,7 +250,8 @@ class OptVar(Opt):
class OptVals:
"""Class to hold option values.
"""
pass
def __init__(self):
self.quiet = False
class Opts:
"""Container for options.
@@ -276,7 +277,6 @@ class Opts:
self.argv = []
# Option values.
self.vals = OptVals()
self.vals.quiet = 0
# Variables for default scripts.
self.vars = {}
# Option to use for bare words.
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.