Add some more flexibility to conf and control_panel naming

closes #1055
This commit is contained in:
TU Delft developer
2014-12-21 22:50:24 +01:00
committed by Felix Ruess
parent a94cb4cf31
commit 0add0485a0
+4 -4
View File
@@ -66,8 +66,8 @@ class ConfChooser:
conf_files = []
pattern = "conf[._-]*xml*"
backup_pattern = "conf[._-]*xml.20[0-9][0-9]-[01][0-9]-[0-3][0-9]_*"
pattern = "*conf[._-]*xml"
backup_pattern = "*conf[._-]*xml.20[0-9][0-9]-[01][0-9]-[0-3][0-9]_*"
excludes = ["%gconf.xml"]
for path, subdirs, files in os.walk(self.conf_dir):
@@ -88,8 +88,8 @@ class ConfChooser:
controlpanel_files = []
pattern = "control_panel[._-]*xml*"
backup_pattern = "control_panel[._-]*xml.20[0-9][0-9]-[01][0-9]-[0-3][0-9]_*"
pattern = "*control_panel[._-]*xml"
backup_pattern = "*control_panel[._-]*xml.20[0-9][0-9]-[01][0-9]-[0-3][0-9]_*"
excludes = []
for path, subdirs, files in os.walk(self.conf_dir):