fix pep8 and remove extra reference to reset

This commit is contained in:
Vishvananda Ishaya 2011-02-21 13:59:46 -08:00
parent 29644fe5a9
commit dbb071c842
2 changed files with 1 additions and 3 deletions

View File

@ -45,6 +45,5 @@ if __name__ == '__main__':
utils.default_flagfile()
flags.FLAGS(sys.argv)
logging.setup()
service.serve()
service.wait()

View File

@ -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):