Correct regex for state recovery from persistnet store
This commit is contained in:
parent
10b2e91ab2
commit
41fa4cd895
@ -1,3 +1,5 @@
|
||||
- 0.2.2
|
||||
* Fix composite state factory load regex
|
||||
- 0.2.1
|
||||
* Add rocksdb backend
|
||||
- 0.2.0
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
re_processedname = r'^_?[A-Z,\.]*$'
|
||||
re_processedname = r'^_?[A-Z\._]*$'
|
||||
|
||||
|
||||
class StoreFactory:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user