summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py16
1 files changed, 5 insertions, 11 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py
index 0fd00ea..8816923 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -1,14 +1,8 @@
#!/usr/bin/env python
if __name__ == '__main__':
- import signal
- from GitAutoDeploy import GitAutoDeploy
-
- app = GitAutoDeploy()
-
- signal.signal(signal.SIGHUP, app.signal_handler)
- signal.signal(signal.SIGINT, app.signal_handler)
- signal.signal(signal.SIGABRT, app.signal_handler)
- signal.signal(signal.SIGPIPE, signal.SIG_IGN)
-
- app.run()
+ import sys
+ import os
+ import gitautodeploy
+ sys.stderr.write("\033[1;33m[WARNING]\033[0;33m GitAutoDeploy.py is deprecated. Please use \033[1;33m'bin/gitautodeploy%s'\033[0;33m instead.\033[0m\n" % (' ' + ' '.join(sys.argv[1:])).strip())
+ gitautodeploy.main()