From 00e684161495e35fce3829c5099708341bb89168 Mon Sep 17 00:00:00 2001 From: Lucian Ursu Date: Fri, 22 Feb 2013 15:41:09 +0200 Subject: [PATCH] Removed the env.run variable, because it's not needed. --- fabfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fabfile.py b/fabfile.py index 2285466..37435c5 100755 --- a/fabfile.py +++ b/fabfile.py @@ -3,14 +3,13 @@ import os from contextlib import contextmanager as _contextmanager -from fabric.api import cd, env, local, prefix, run, settings, task +from fabric.api import cd, env, prefix, run, settings, task ########## GLOBALS env.proj_repo = 'git@github.com:FinalsClub/karmaworld.git' env.virtualenv = 'venv-kw' env.activate = 'workon %s' % env.virtualenv -env.run = './manage.py' ########## END GLOBALS @@ -62,7 +61,7 @@ def syncdb(): @task def collectstatic(): """Collect all static files, and copy them to S3 for production usage.""" - local('%(run)s collectstatic --noinput' % env) + run('python manage.py collectstatic --noinput') ########## END FILE MANAGEMENT -- 2.25.1