#10646: memcached's incr and decr should throw ValueError if keys don't exist -------------------------------------+-------------------------------------- Reporter: dauerbaustelle | Owner: anonymous Status: assigned | Milestone: 1.2 Component: Cache system | Version: 1.1-beta-1 Resolution: | Keywords: memcached, cache, incr, decr Stage: Accepted | Has_patch: 1 Needs_docs: 1 | Needs_tests: 1 Needs_better_patch: 1 | -------------------------------------+-------------------------------------- Comment (by andrewfong):
As of r11267, unit tests for the memcached backend were failing because the test expected a value error to be raised and the incr / decr did not do so. It was bugging me, so I made a quick fix (see attached patch). Hope it helps. -- Ticket URL: <http://code.djangoproject.com/ticket/10646#comment:7> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---