#2192: Mako template loader for non-dotted template names fail to init
------------------------+---------------------------------------------------
 Reporter:  kikidonk    |        Owner:  faide   
     Type:  defect      |       Status:  assigned
 Priority:  normal      |    Milestone:  2.0b6   
Component:  TurboGears  |      Version:  trunk   
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by kikidonk):

 This is because the test config doesn't match the standard config.
 Compare this:
 {{{
 Index: tg/test_stack/__init__.py
 ===================================================================
 --- tg/test_stack/__init__.py   (revision 6276)
 +++ tg/test_stack/__init__.py   (working copy)
 @@ -29,7 +29,7 @@
                      root=test_base_path,
                      controllers=os.path.join(test_config_path,
 'controllers'),
                      static_files=os.path.join(test_config_path,
 'public'),
 -                    templates=os.path.join(test_config_path, 'templates')
 +                    templates=[os.path.join(test_config_path,
 'templates')]
                      )
          print self.package
 }}}

 with this
 http://trac.turbogears.org/browser/trunk/tg/configuration.py?rev=6276#L174

 where the self.paths is setup. In configuration.py for some reasons a list
 is created for template paths

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2192#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to