Disabled execution of modules loaded by execution files in bin
Changed file bit mode of modules which are executable
Change-Id: If8a3378c79bb5bfcde1b93066c6b2c0a3d1107ad
mgr = DhcpAgent(cfg.CONF)
mgr.run()
-
-
-if __name__ == '__main__':
- main()
mgr = L3NATAgent(conf)
mgr.daemon_loop()
-
-
-if __name__ == '__main__':
- main()
def main(argv=None):
return QuantumDebugShell(QUANTUM_API_VERSION).run(argv or sys.argv[1:])
-
-if __name__ == "__main__":
- sys.exit(main())
+#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2011 Cisco Systems, Inc. All rights reserved.
+#!/usr/bin/env python
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2011 Cisco Systems, Inc. All rights reserved.