Anonymous avatar Anonymous committed b3754cf

Fix for Cheetah import (in some cases); prepare news for 1.3.1 release

Comments (0)

Files changed (2)

 News: Paste Script
-svn trunk
 * Fix related to Python 2.5 (when there are errors creating files, you
   could get infinite recursion under Python 2.5).
 * The ``exe`` command now does % substitution in keys (e.g.,
+* Some import problems with Cheetah should be improved.


                 print 'No %s found' % meta_name
             return self.simple_config(vars)
         if self.use_cheetah:
-            from Cheetah.Template import Template
-            tmpl = Template(self.dist.get_metadata(meta_name),
+            import Cheetah.Template
+            tmpl = Cheetah.Template.Template(self.dist.get_metadata(meta_name),
             return copydir.careful_sub(
                 tmpl, vars, meta_name)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.