Browse Source

Excluded non-processable resoucrces from auto extend

main
Lakshmi Vyasarajan 14 years ago
parent
commit
fc678e423e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      hyde/ext/plugins/auto_extend.py

+ 3
- 0
hyde/ext/plugins/auto_extend.py View File

@@ -20,6 +20,9 @@ class AutoExtendPlugin(Plugin):
and there is no extends statement, this plugin automatically adds and there is no extends statement, this plugin automatically adds
an extends statement to the top of the file. an extends statement to the top of the file.
""" """

if not resource.is_processable or not resource.uses_template:
return text
layout = None layout = None
block = None block = None
try: try:


Loading…
Cancel
Save