From 558ec0f81089a5ddd722ea08a5106e4a0409cf28 Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Tue, 26 Jun 2012 22:34:37 -0700 Subject: [PATCH] escape the \n in the email_addresses fab command --- fabfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index 26d451ed..81f556ea 100644 --- a/fabfile.py +++ b/fabfile.py @@ -87,7 +87,7 @@ def public_key_from_private_key(): def email_addresses(): """list email addresses in unglue.it""" 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(): """setting up selenium to run in the background on RY's laptop"""