Skip to content

Commit

Permalink
version is now static
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Jul 24, 2011
1 parent 397b42e commit be87082
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions jinja2/__init__.py
Expand Up @@ -27,11 +27,7 @@
:license: BSD, see LICENSE for more details.
"""
__docformat__ = 'restructuredtext en'
try:
__version__ = __import__('pkg_resources') \
.get_distribution('Jinja2').version
except Exception:
__version__ = 'unknown'
__version__ = '2.6'

# high level interface
from jinja2.environment import Environment, Template
Expand Down

0 comments on commit be87082

Please sign in to comment.