update-deployment: Fix undefined name

(imported from commit 3b9ffea14b1e643dd2dacf1212f9f2fbd9e2f33e)
This commit is contained in:
Keegan McAllister 2012-10-19 20:51:56 -04:00
parent 86b4da9d83
commit d9195cd189
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ subprocess.check_call(["git", "reset", "--hard", "origin/master"], stdout=open('
for cmd in ('runfcgi', 'runtornado'): for cmd in ('runfcgi', 'runtornado'):
try: try:
subprocess.check_call(["pkill", "-f", "python manage.py " + cmd]) 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 "%sCould not kill %s; is it running?%s" % (WARNING, cmd, ENDC)
print OKGREEN + "Updated deployed version of humbug application!" + ENDC print OKGREEN + "Updated deployed version of humbug application!" + ENDC