Skip to content
Snippets Groups Projects
Commit ddcd7ee0 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Merge branch 'hotfix/0.2.1'

parents cb2a548e 1f1546cb
No related branches found
Tags v0.2.1
No related merge requests found
......@@ -38,6 +38,11 @@ Setup
Changelog
---------
0.2.1 (2011-08-05)
^^^^^^^^^^^^^^^^^^
* Fixed typo in exception message handling.
0.2 (2011-08-04)
^^^^^^^^^^^^^^^^
......
# following PEP 386, versiontools will pick it up
__version__ = (0, 2, 0, "final", 0)
__version__ = (0, 2, 1, "final", 0)
......@@ -70,7 +70,7 @@ class CeleryHaystackSignalHandler(Task):
instance = model_class.objects.get(pk=int(pk))
except model_class.DoesNotExist:
logger.error("Couldn't load model instance "
"with pk #%s. Somehow it went missing? %s" % pk)
"with pk #%s. Somehow it went missing?" % pk)
return None
except model_class.MultipleObjectsReturned:
logger.error("More than one object with pk #%s. Oops?" % pk)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment