summaryrefslogtreecommitdiff
path: root/gear/cmd/geard.py
diff options
context:
space:
mode:
Diffstat (limited to 'gear/cmd/geard.py')
-rw-r--r--gear/cmd/geard.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/gear/cmd/geard.py b/gear/cmd/geard.py
index 227f1cd..e270b39 100644
--- a/gear/cmd/geard.py
+++ b/gear/cmd/geard.py
@@ -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()