Clean up executable modules

Disabled execution of modules loaded by execution files in bin
Changed file bit mode of modules which are executable

Change-Id: If8a3378c79bb5bfcde1b93066c6b2c0a3d1107ad
This commit is contained in:
Zhongyue Luo 2012-11-08 09:55:15 +08:00
parent b23940c319
commit f9cadb9478
6 changed files with 2 additions and 11 deletions

View File

@ -544,7 +544,3 @@ def main():
mgr = DhcpAgent(cfg.CONF)
mgr.run()
if __name__ == '__main__':
main()

View File

@ -552,7 +552,3 @@ def main():
mgr = L3NATAgent(conf)
mgr.daemon_loop()
if __name__ == '__main__':
main()

View File

@ -79,6 +79,3 @@ class QuantumDebugShell(QuantumShell):
def main(argv=None):
return QuantumDebugShell(QUANTUM_API_VERSION).run(argv or sys.argv[1:])
if __name__ == "__main__":
sys.exit(main())

1
quantum/plugins/cisco/client/cli.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2011 Cisco Systems, Inc. All rights reserved.

0
quantum/plugins/cisco/run_tests.py Normal file → Executable file
View File

1
quantum/plugins/cisco/services/service_insertion.py Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2011 Cisco Systems, Inc. All rights reserved.