Fix: flake8 warnings
Change-Id: I6e36654d53117327c91f4819afa517ccb13d8952
This commit is contained in:
parent
4600fef101
commit
f00b04a3ed
@ -386,5 +386,6 @@ def main(argv=None):
|
|||||||
not args.quiet, not conf['offline']]):
|
not args.quiet, not conf['offline']]):
|
||||||
print('Archives available in "%s".' % nm.conf['archive_dir'])
|
print('Archives available in "%s".' % nm.conf['archive_dir'])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main(sys.argv))
|
||||||
|
@ -96,6 +96,7 @@ class FLock:
|
|||||||
# lockfile can be erased and everything still works normally.
|
# lockfile can be erased and everything still works normally.
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
# Test main routine
|
# Test main routine
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
import time
|
import time
|
||||||
|
@ -955,5 +955,6 @@ class NodeManager(object):
|
|||||||
def main(argv=None):
|
def main(argv=None):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main(sys.argv))
|
sys.exit(main(sys.argv))
|
||||||
|
Loading…
Reference in New Issue
Block a user