fix pep8 and remove extra reference to reset
This commit is contained in:
parent
29644fe5a9
commit
dbb071c842
@ -45,6 +45,5 @@ if __name__ == '__main__':
|
||||
utils.default_flagfile()
|
||||
flags.FLAGS(sys.argv)
|
||||
logging.setup()
|
||||
|
||||
service.serve()
|
||||
service.wait()
|
||||
|
@ -29,6 +29,7 @@ import sys
|
||||
|
||||
import gflags
|
||||
|
||||
|
||||
class FlagValues(gflags.FlagValues):
|
||||
"""Extension of gflags.FlagValues that allows undefined and runtime flags.
|
||||
|
||||
@ -89,8 +90,6 @@ class FlagValues(gflags.FlagValues):
|
||||
self.__dict__['__stored_argv'] = original_argv
|
||||
self.__dict__['__was_already_parsed'] = True
|
||||
self.ClearDirty()
|
||||
from nova import log as logging
|
||||
logging.reset()
|
||||
return args
|
||||
|
||||
def Reset(self):
|
||||
|
Loading…
Reference in New Issue
Block a user