Fixed fabric script local settings for development not removing correctly
This commit is contained in:
parent
db488fbb66
commit
b84551f78b
|
@ -175,9 +175,9 @@ def run():
|
||||||
path = getcwd()
|
path = getcwd()
|
||||||
with settings(hide('warnings', 'running'),
|
with settings(hide('warnings', 'running'),
|
||||||
warn_only=True):
|
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('ln -s %s/config/development/local_settings.py %s/minecraftcodex/herobrine/local_settings.py' % (path, path))
|
||||||
local('python minecraftcodex/manage.py runserver')
|
local('python minecraftcodex/manage.py runserver')
|
||||||
local('rm ./minecraftcodex/herobrine/local_settings.py')
|
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
if not active_virtualenv():
|
if not active_virtualenv():
|
||||||
|
|
Loading…
Reference in New Issue