From fc678e423e0de6cb7d23430421d50de8d5dac3c9 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Sat, 5 Feb 2011 15:52:00 +0530 Subject: [PATCH] Excluded non-processable resoucrces from auto extend --- hyde/ext/plugins/auto_extend.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hyde/ext/plugins/auto_extend.py b/hyde/ext/plugins/auto_extend.py index 4017667..fe3b095 100644 --- a/hyde/ext/plugins/auto_extend.py +++ b/hyde/ext/plugins/auto_extend.py @@ -20,6 +20,9 @@ class AutoExtendPlugin(Plugin): and there is no extends statement, this plugin automatically adds an extends statement to the top of the file. """ + + if not resource.is_processable or not resource.uses_template: + return text layout = None block = None try: