2c0e6f737e7e — Peter Sanchez tip 9 years ago
Version bump. Small fix to avoid datetime warnings.
3 files changed, 3 insertions(+), 3 deletions(-)

M callback/__init__.py
M callback/managers.py
M setup.py
M callback/__init__.py +1 -1
@@ 3,7 3,7 @@ from callback.base import CallbackExcept
 from callback.signals import stored_callback, processed_callback, error_callback
 
 
-__version__ = '0.6'
+__version__ = '0.6.1'
 __all__ = [
     'CallbackException', 'CallbackBase', 'callback_manager',
     'stored_callback', 'processed_callback', 'error_callback',

          
M callback/managers.py +1 -1
@@ 25,7 25,7 @@ class CallbackMapManager(models.Manager)
         return self.get_query_set().filter(query)
 
     def all_expired_callbacks(self, days=7, delete_errors=False):
-        use_date = timezone.now().date() - datetime.timedelta(days=days)
+        use_date = timezone.now() - datetime.timedelta(days=days)
         query = Q(is_active=False) 
         if not delete_errors:
             query &= Q(is_error=False)

          
M setup.py +1 -1
@@ 28,7 28,7 @@ for dirpath, dirnames, filenames in os.w
 
 setup(
     name='django-callback',
-    version='0.6',
+    version='0.6.1',
     package_dir={project_name: project_name},
     packages=packages,
     package_data={project_name: data_files},