summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/gitautodeploy.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-05-05 00:52:19 +0200
committerOliver Poignant <oliver@poignant.se>2016-05-05 00:52:19 +0200
commit70f8d7d01873e8d66b9a3ce7497f2f857e573984 (patch)
treeca44cde75ebd3701a48e5986853fb62c89c7040c /gitautodeploy/gitautodeploy.py
parent7c2e8c6c6300dee3618c6ea39150bb1f4d2ecefb (diff)
downloadGit-Auto-Deploy-70f8d7d01873e8d66b9a3ce7497f2f857e573984.zip
Git-Auto-Deploy-70f8d7d01873e8d66b9a3ce7497f2f857e573984.tar.gz
Git-Auto-Deploy-70f8d7d01873e8d66b9a3ce7497f2f857e573984.tar.bz2
Handle invalid web hook requests better. Fixed issue with shutdown.
Diffstat (limited to 'gitautodeploy/gitautodeploy.py')
-rw-r--r--gitautodeploy/gitautodeploy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitautodeploy/gitautodeploy.py b/gitautodeploy/gitautodeploy.py
index 5c317ec..d572c8f 100644
--- a/gitautodeploy/gitautodeploy.py
+++ b/gitautodeploy/gitautodeploy.py
@@ -337,6 +337,7 @@ class GitAutoDeploy(object):
def stop(self):
if self._server is not None:
+ self._server.shutdown()
self._server.socket.close()
def signal_handler(self, signum, frame):