Ignore '<template>.cache' files in template dirs

Bug #332747 reported by Uli Fouquet on 2009-02-22
8
Affects Status Importance Assigned to Milestone
grok
Wishlist
Uli Fouquet

Bug Description

When using chameleon-driven Genshi templates, there are '.cache' files generated in the template dir (apparently for faster parsing). Those files lead to warnings on the next startup. For example, when using a template file 'hunter.cgt'::

  UserWarning: File 'hunter.cgt.cache' has an unrecognized extension in directory '/.../app_templates'

As '.cache' is unlikely to become a template type filename extension ever, I'd opt for ignoring files ending with .cache when grokking.

Uli Fouquet (uli-gnufix) on 2009-02-22
Changed in grok:
assignee: nobody → uli-gnufix
importance: Undecided → Wishlist
Uli Fouquet (uli-gnufix) on 2009-02-25
Changed in grok:
status: New → In Progress
Uli Fouquet (uli-gnufix) on 2009-02-25
Changed in grok:
status: In Progress → Fix Committed
Changed in grok:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers