escape the \n in the email_addresses fab command
parent
d3da49cf74
commit
558ec0f810
|
@ -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"""
|
||||||
|
|
Loading…
Reference in New Issue