summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2011-01-22 10:12:46 -0600
committerNarayan Desai <desai@mcs.anl.gov>2011-01-22 10:12:46 -0600
commite08b9bdaa13375321ed827d3bf75cd54a05b19fe (patch)
treea3ec50553c0cfe377af8c3c39ab3d2e400457b7f /src
parent670bce6e830389387742fdee185356bf337673fb (diff)
downloadbcfg2-e08b9bdaa13375321ed827d3bf75cd54a05b19fe.tar.gz
bcfg2-e08b9bdaa13375321ed827d3bf75cd54a05b19fe.tar.bz2
bcfg2-e08b9bdaa13375321ed827d3bf75cd54a05b19fe.zip
EntrySet: Add generic ignore support for files named \*.genshi_include, enabling splitting of genshi templates (Resolves Ticket #897)
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 84d5896a5..73d054409 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -680,7 +680,7 @@ class SpecificData(object):
class EntrySet:
"""Entry sets deal with the host- and group-specific entries."""
- ignore = re.compile("^(\.#.*|.*~|\\..*\\.(sw[px]))$")
+ ignore = re.compile("^(\.#.*|.*~|\\..*\\.(sw[px])|.*\\.genshi_include)$")
def __init__(self, basename, path, entry_type, encoding):
self.path = path
self.entry_type = entry_type