Skip to content
Myr

Fixed some minor glitches.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent f288b7a · Browse files · 2 files+6 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−3 removed

  • other:+6 added−3 removed

2 files+6 added−3 removed

modified:jinja2/environment.py+1 added-1 removed
91 unmodified lines
92 `variable_start_string`93 The string marking the begin of a print statement.94 Defaults to ``'{{'``.9596 `variable_stop_string`96 `variable_end_string`97 The string marking the end of a print statement. Defaults to98 ``'}}'``.99100 `comment_start_string`
652 unmodified lines
modified:jinja2/loaders.py+5 added-2 removed
7 unmodified lines
8 :copyright: 2008 by Armin Ronacher.9 :license: BSD, see LICENSE for more details.10"""11from os import path12try:13 from hashlib import sha114except ImportError:15 from sha import new as sha116from jinja2.exceptions import TemplateNotFound17from jinja2.utils import LRUCache1819
25 unmodified lines
45 from os.path import join, exists, getmtime4647 class MyLoader(BaseLoader):4845 def __init__(self, path, cache_size=50, auto_reload=True):46 BaseLoader.__init__(self, cache_size, auto_reload)49 def __init__(self, path):50 self.path = path5152 def get_source(self, environment, template):53 path = join(self.path, template)
223 unmodified lines