projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8712dad
)
[svn] fixed package loader in buffet plugin
author
Armin Ronacher
<armin.ronacher@active-4.com>
Fri, 8 Jun 2007 11:02:38 +0000
(13:02 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Fri, 8 Jun 2007 11:02:38 +0000
(13:02 +0200)
--HG--
branch : trunk
jinja/plugin.py
patch
|
blob
|
history
diff --git
a/jinja/plugin.py
b/jinja/plugin.py
index d05c5f8586190395a38620009b4f10d67dbb0e48..415a2e06e2146fa2bca2182aa77bbc869a7605a7 100644
(file)
--- a/
jinja/plugin.py
+++ b/
jinja/plugin.py
@@
-39,11
+39,11
@@
class BuffetPlugin(object):
memcache_size = opt.pop('memcache_size', 40)
cache_folder = opt.pop('cache_folder', None)
auto_reload = opt.pop('auto_reload', True)
- if 'searchpath' in opt
ions
:
+ if 'searchpath' in opt:
opt['loader'] = FileSystemLoader(opt.pop('searchpath'),
use_memcache, memcache_size,
cache_folder, auto_reload)
- elif 'package' in opt
ions
:
+ elif 'package' in opt:
opt['loader'] = PackageLoader(opt.pop('package'),
opt.pop('package_path', ''),
use_memcache, memcache_size,