From e08b9bdaa13375321ed827d3bf75cd54a05b19fe Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 22 Jan 2011 10:12:46 -0600 Subject: EntrySet: Add generic ignore support for files named \*.genshi_include, enabling splitting of genshi templates (Resolves Ticket #897) --- src/lib/Server/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 -- cgit v1.2.3-1-g7c22