Fix: flake8 warnings

Change-Id: I6e36654d53117327c91f4819afa517ccb13d8952
This commit is contained in:
Oleksandr Liemieshko 2016-12-15 19:49:21 -08:00
parent 4600fef101
commit f00b04a3ed
3 changed files with 3 additions and 0 deletions

View File

@ -386,5 +386,6 @@ def main(argv=None):
not args.quiet, not conf['offline']]):
print('Archives available in "%s".' % nm.conf['archive_dir'])
if __name__ == '__main__':
sys.exit(main(sys.argv))

View File

@ -96,6 +96,7 @@ class FLock:
# lockfile can be erased and everything still works normally.
pass
# Test main routine
if __name__ == '__main__':
import time

View File

@ -955,5 +955,6 @@ class NodeManager(object):
def main(argv=None):
return 0
if __name__ == '__main__':
sys.exit(main(sys.argv))