removed extra comments and initialized from flags
This commit is contained in:
@@ -37,7 +37,6 @@ class FlagValues(gflags.FlagValues):
|
|||||||
defined after the initial parsing.
|
defined after the initial parsing.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
initialized = False
|
|
||||||
|
|
||||||
def __init__(self, extra_context=None):
|
def __init__(self, extra_context=None):
|
||||||
gflags.FlagValues.__init__(self)
|
gflags.FlagValues.__init__(self)
|
||||||
@@ -45,8 +44,6 @@ class FlagValues(gflags.FlagValues):
|
|||||||
self.__dict__['__was_already_parsed'] = False
|
self.__dict__['__was_already_parsed'] = False
|
||||||
self.__dict__['__stored_argv'] = []
|
self.__dict__['__stored_argv'] = []
|
||||||
self.__dict__['__extra_context'] = extra_context
|
self.__dict__['__extra_context'] = extra_context
|
||||||
# NOTE(vish): force a pseudo flag to keep track of whether
|
|
||||||
# flags have been parsed already
|
|
||||||
|
|
||||||
def __call__(self, argv):
|
def __call__(self, argv):
|
||||||
# We're doing some hacky stuff here so that we don't have to copy
|
# We're doing some hacky stuff here so that we don't have to copy
|
||||||
|
|||||||
Reference in New Issue
Block a user