Remove shebang as the script is managed by an entry_point
The shebang is not needed in cmd/geard.py. The file is not intended to be used directly as it is managed by an entry_point. Change-Id: I4e2a8715cca81a8626f6bcd86a368a537305bc0b Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
bb681360fc
commit
c2f861b491
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python
|
||||
# Copyright 2013 OpenStack Foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
|
@ -127,8 +126,3 @@ def main():
|
|||
pid = pid_file_module.TimeoutPIDLockFile(server.args.pidfile, 10)
|
||||
with daemon.DaemonContext(pidfile=pid):
|
||||
server.main()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.path.insert(0, '.')
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue