summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugin.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin.py b/src/lib/Bcfg2/Server/Plugin.py
index f858c7b44..f841cef22 100644
--- a/src/lib/Bcfg2/Server/Plugin.py
+++ b/src/lib/Bcfg2/Server/Plugin.py
@@ -1063,8 +1063,9 @@ class SpecificData(object):
class EntrySet(Debuggable):
"""Entry sets deal with the host- and group-specific entries."""
ignore = re.compile("^(\.#.*|.*~|\\..*\\.(sw[px])|.*\\.genshi_include)$")
+ basename_is_regex=False
- def __init__(self, basename, path, entry_type, encoding, is_regex=False):
+ def __init__(self, basename, path, entry_type, encoding):
Debuggable.__init__(self, name=basename)
self.path = path
self.entry_type = entry_type
@@ -1073,7 +1074,7 @@ class EntrySet(Debuggable):
self.infoxml = None
self.encoding = encoding
- if is_regex:
+ if self.basename_is_regex:
base_pat = basename
else:
base_pat = re.escape(basename)