Browse Source

Import timedelta_seconds from utils.timeutils not utils.

Ask Solem 15 years ago
parent
commit
1e9ec0f092
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/backends/cache.py

+ 1 - 1
celery/backends/cache.py

@@ -6,7 +6,7 @@ from django.core.cache import cache, get_cache
 from django.core.cache.backends.base import InvalidCacheBackendError
 
 from celery import conf
-from celery.utils import timedelta_seconds
+from celery.utils.timeutils import timedelta_seconds
 from celery.backends.base import KeyValueStoreBackend
 
 # CELERY_CACHE_BACKEND overrides the django-global(tm) backend settings.