Skip to content

Commit

Permalink
Cache: fix runner's check for caches
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaynebailey committed Oct 20, 2016
1 parent 75bb855 commit 0e687a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pootle/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def run_app(project, default_settings_path, settings_template,
# ImproperlyConfigured error on trying to run any pootle commands
# NB: it may be possible to remove this when #4006 is fixed
caches = settings.CACHES.keys()
if "stats" not in caches or "redis" not in caches:
# FIXME prefer pootle.core.cache::PERSISTANT_STORE
if "redis" not in caches:
sys.stdout.write("\nYou need to configure the CACHES setting, "
"or to use the defaults remove CACHES from %s\n\n"
"Once you have fixed the CACHES setting you should "
Expand Down

0 comments on commit 0e687a3

Please sign in to comment.