diff --git a/CHANGELOG b/CHANGELOG index 75bf56a..5cb7cbc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +- 0.2.2 + * Fix composite state factory load regex - 0.2.1 * Add rocksdb backend - 0.2.0 diff --git a/setup.cfg b/setup.cfg index 5900614..079f6cb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = shep -version = 0.2.1rc1 +version = 0.2.2 description = Multi-state key stores using bit masks author = Louis Holbrook author_email = dev@holbrook.no diff --git a/shep/store/base.py b/shep/store/base.py index 14b73b8..8da1429 100644 --- a/shep/store/base.py +++ b/shep/store/base.py @@ -1,4 +1,4 @@ -re_processedname = r'^_?[A-Z,\.]*$' +re_processedname = r'^_?[A-Z\._]*$' class StoreFactory: diff --git a/shep/store/file.py b/shep/store/file.py index b597d2e..cf33711 100644 --- a/shep/store/file.py +++ b/shep/store/file.py @@ -153,7 +153,6 @@ class SimpleFileStoreFactory(StoreFactory): def ls(self): r = [] - import sys for v in os.listdir(self.__path): if re.match(re_processedname, v): r.append(v)