Fixed fabric script local settings for development not removing correctly

This commit is contained in:
Felipe Martín 2013-05-24 12:18:16 +02:00
parent db488fbb66
commit b84551f78b
1 changed files with 1 additions and 1 deletions

2
fabfile.py vendored
View File

@ -175,9 +175,9 @@ def run():
path = getcwd()
with settings(hide('warnings', 'running'),
warn_only=True):
local('rm ./minecraftcodex/herobrine/local_settings.py')
local('ln -s %s/config/development/local_settings.py %s/minecraftcodex/herobrine/local_settings.py' % (path, path))
local('python minecraftcodex/manage.py runserver')
local('rm ./minecraftcodex/herobrine/local_settings.py')
def test():
if not active_virtualenv():