This commit is contained in:
Andy McKay 2012-02-15 09:40:07 -08:00
Родитель 4d693da183
Коммит 0ceceac10e
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -126,9 +126,9 @@ def update(ctx):
compress_assets()
#TODO(andym): remove this check (but not the compress_assets) once
# apps-preview is dead.
with ctx.lcd(settings.SRC_DIR):
if not ctx.local('test -e settings_local_mkt.py').code:
compress_assets(arg='--settings=settings_local_mkt')
if os.path.exists(os.path.join(settings.SRC_DIR,
'settings_local_mkt.py')):
compress_assets(arg='--settings=settings_local_mkt')
schematic()
with ctx.lcd(settings.SRC_DIR):
ctx.local('python2.6 manage.py dump_apps')