escape the \n in the email_addresses fab command

pull/1/head
Raymond Yee 2012-06-26 22:34:37 -07:00
parent d3da49cf74
commit 558ec0f810
1 changed files with 1 additions and 1 deletions

2
fabfile.py vendored
View File

@ -87,7 +87,7 @@ def public_key_from_private_key():
def email_addresses(): def email_addresses():
"""list email addresses in unglue.it""" """list email addresses in unglue.it"""
with cd("/opt/regluit"): with cd("/opt/regluit"):
run("""source ENV/bin/activate; echo "import django; print ', \n'.join([u.email for u in django.contrib.auth.models.User.objects.all() ]); quit()" | django-admin.py shell_plus --settings=regluit.settings.me""") run("""source ENV/bin/activate; echo "import django; print ', \\n'.join([u.email for u in django.contrib.auth.models.User.objects.all() ]); quit()" | django-admin.py shell_plus --settings=regluit.settings.me""")
def selenium(): def selenium():
"""setting up selenium to run in the background on RY's laptop""" """setting up selenium to run in the background on RY's laptop"""