Skip to content

Commit

Permalink
Clean up pointed out by Rob...
Browse files Browse the repository at this point in the history
  • Loading branch information
cshoe committed Sep 6, 2011
1 parent 5d5ca33 commit 0f87323
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lolaws/fabfile.py
Expand Up @@ -80,10 +80,6 @@ def unpack():
with cd(env.dev_root):
sudo('tar xf {0}'.format(env.code_pack_location))

def clean_remote_pack():
""" activate VM and run collectstatic """
run_in_virtualenv("cd {0}; python manage.py collectstatic --noinput --link --settings={1}".format(env.code_root, env.settings_name))

def install_requirements():
""" Install requirements """
with cd(env.dev_root):
Expand Down Expand Up @@ -113,7 +109,7 @@ def syncdb():

def collectstatic():
with cd(env.code_root):
run_in_virtualenv("python manage.py collectstatic --noinput --link --settings={0}".format(env.settings_name))
run_in_virtualenv("python manage.py collectstatic --noinput --link --settings={0}".format(env.settings_name))


def deploy():
Expand Down

0 comments on commit 0f87323

Please sign in to comment.