Revision 1ea0e8a8 lib/ssconf.py
b/lib/ssconf.py | ||
---|---|---|
27 | 27 |
""" |
28 | 28 |
|
29 | 29 |
import sys |
30 |
import re |
|
31 | 30 |
import os |
32 | 31 |
import errno |
33 | 32 |
|
... | ... | |
42 | 41 |
|
43 | 42 |
SSCONF_LOCK_TIMEOUT = 10 |
44 | 43 |
|
45 |
RE_VALID_SSCONF_NAME = re.compile(r"^[-_a-z0-9]+$") |
|
46 |
|
|
47 | 44 |
|
48 | 45 |
class SimpleConfigReader(object): |
49 | 46 |
"""Simple class to read configuration file. |
Also available in: Unified diff