mirror of https://github.com/zulip/zulip.git
update-deployment: Fix undefined name
(imported from commit 3b9ffea14b1e643dd2dacf1212f9f2fbd9e2f33e)
This commit is contained in:
parent
86b4da9d83
commit
d9195cd189
|
@ -40,7 +40,7 @@ subprocess.check_call(["git", "reset", "--hard", "origin/master"], stdout=open('
|
|||
for cmd in ('runfcgi', 'runtornado'):
|
||||
try:
|
||||
subprocess.check_call(["pkill", "-f", "python manage.py " + cmd])
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print "%sCould not kill %s; is it running?%s" % (WARNING, cmd, ENDC)
|
||||
|
||||
print OKGREEN + "Updated deployed version of humbug application!" + ENDC
|
||||
|
|
Loading…
Reference in New Issue