closing key in quotes

pull/1/head
Raymond Yee 2012-05-15 10:24:43 -07:00
parent d56b7a6453
commit 9da5b155f5
1 changed files with 1 additions and 1 deletions

2
fabfile.py vendored
View File

@ -70,7 +70,7 @@ def set_key_ry(name,value):
def set_key(name, value):
"""set encrypted key via the remote Django command -- works for web1, just, please"""
with cd("/opt/regluit"):
run("""source ENV/bin/activate; django-admin.py set_key {0} {1} --settings=regluit.settings.me""".format(name, value))
run("""source ENV/bin/activate; django-admin.py set_key {0} "{1}" --settings=regluit.settings.me""".format(name, value))
def ssh_fingerprint2():
# http://stackoverflow.com/a/6682934/7782