Skip to content

Commit

Permalink
Add . seperator when removing keys; bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeway committed Jun 8, 2018
1 parent c93d80d commit dbfe712
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autocompleter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = (0, 6, 1)
VERSION = (0, 6, 2)

from autocompleter.registry import registry, signal_registry
from autocompleter.base import AutocompleterBase, AutocompleterModelProvider, AutocompleterDictProvider, Autocompleter
Expand Down
2 changes: 1 addition & 1 deletion autocompleter/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def remove_all(self):
# cleaned up if their ID changed but for some reason we did not
# delete the old ID... Here we delete what's left, just to be safe
key = AUTO_BASE_NAME % (provider_name,)
key += '*'
key += '.*'
leftovers = REDIS.keys(key)

# Start pipeline
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='django-autocompleter',
version="0.6.1",
version="0.6.2",
description='A redis-backed autocompletor for Django projects',
author='Ara Anjargolian',
author_email='[email protected]',
Expand Down

0 comments on commit dbfe712

Please sign in to comment.