grok doesn't like explicit grok.template() if it matches implicitly found template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grok |
Fix Committed
|
Medium
|
Jan Wijbrand Kolman | ||
1.0 |
Won't Fix
|
Medium
|
Jan Wijbrand Kolman | ||
1.1 |
Fix Committed
|
Medium
|
Martijn Faassen |
Bug Description
Consider
class AppCSS(
grok.
grok.
grok.
grok will complain with the error:
File "/Users/
zope.configurat
Essentially, grok complains because I'm too explicit: grok.template(
removing the grok.template line makes the error disappear.
Changed in grok: | |
assignee: | nobody → brandon-rhodes |
milestone: | none → 1.0 |
Changed in grok: | |
assignee: | brandon-rhodes → janwijbrand |
importance: | Undecided → Medium |
status: | New → Confirmed |
grok.template expects a template name without extension, I think. What
happens if you use 'appcss' without the '.pt'?