From: Lucian Ursu Date: Fri, 22 Feb 2013 13:41:09 +0000 (+0200) Subject: Removed the env.run variable, because it's not needed. X-Git-Tag: release-20150131~498^2~2^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=00e684161495e35fce3829c5099708341bb89168;p=oweals%2Fkarmaworld.git Removed the env.run variable, because it's not needed. --- 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