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
|
- 0.2.1
|
||||||
* Add rocksdb backend
|
* Add rocksdb backend
|
||||||
- 0.2.0
|
- 0.2.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = shep
|
name = shep
|
||||||
version = 0.2.1rc1
|
version = 0.2.2
|
||||||
description = Multi-state key stores using bit masks
|
description = Multi-state key stores using bit masks
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
re_processedname = r'^_?[A-Z,\.]*$'
|
re_processedname = r'^_?[A-Z\._]*$'
|
||||||
|
|
||||||
|
|
||||||
class StoreFactory:
|
class StoreFactory:
|
||||||
|
@ -153,7 +153,6 @@ class SimpleFileStoreFactory(StoreFactory):
|
|||||||
|
|
||||||
def ls(self):
|
def ls(self):
|
||||||
r = []
|
r = []
|
||||||
import sys
|
|
||||||
for v in os.listdir(self.__path):
|
for v in os.listdir(self.__path):
|
||||||
if re.match(re_processedname, v):
|
if re.match(re_processedname, v):
|
||||||
r.append(v)
|
r.append(v)
|
||||||
|
Loading…
Reference in New Issue
Block a user