Skip to content

Commit

Permalink
Making things less alarming if they are disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedash committed Jun 15, 2011
1 parent 1bac893 commit 82b8319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elasticutils/__init__.py
Expand Up @@ -25,7 +25,7 @@ def es_required(f):
@wraps(f)
def wrapper(*args, **kw):
if settings.ES_DISABLED:
log.warning('Search not available for %s.' % f)
log.debug('Search disabled for %s.' % f)
return

return f(*args, es=get_es(), **kw)
Expand Down

0 comments on commit 82b8319

Please sign in to comment.