Commits

ianb  committed b3754cf

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

  • Participants
  • Parent commits 2d87feb
  • Tags 1.3.1

Comments (0)

Files changed (2)

File docs/news.txt

 News: Paste Script
 ==================
 
-svn trunk
----------
+1.3.1
+-----
 
 * 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.,
   ``pid_file=%(here)s/paste.pid``).
 
+* Some import problems with Cheetah should be improved.
+
 1.3
 ---
 

File paste/script/appinstall.py

                 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),
                                     searchList=[vars])
             return copydir.careful_sub(
                 tmpl, vars, meta_name)