only delete base history
This commit is contained in:
parent
80dbaf232e
commit
08ce564075
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Command(BaseCommand):
|
|||
if options['include_history']:
|
||||
logger.info('Deleting base history...')
|
||||
for filename in os.listdir(settings.CACHE_ROOT):
|
||||
if filename.startswith('level_') and '_history_' in filename:
|
||||
if filename.startswith('level_') and '_history_base' in filename:
|
||||
logger.info('Deleting %s...' % filename)
|
||||
os.remove(os.path.join(settings.CACHE_ROOT, filename))
|
||||
logger.info('Base history deleted.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue