commit | 0faa861cae96bbeef632b722c7f7723cced01109 | [log] [tgz] |
---|---|---|
author | Armin Ronacher <armin.ronacher@active-4.com> | Tue Feb 09 15:04:51 2010 +0100 |
committer | Armin Ronacher <armin.ronacher@active-4.com> | Tue Feb 09 15:04:51 2010 +0100 |
tree | 4bea11c6c09fb052daacf7dc1a76c05190427fbb | |
parent | 0319c665fe5bf0ecca06ff15c891987d4d0b32cf [diff] [blame] |
Propably delaying release for better python 3 support. Started working on that. --HG-- branch : trunk
diff --git a/jinja2/utils.py b/jinja2/utils.py index d0e83df..f43743c 100644 --- a/jinja2/utils.py +++ b/jinja2/utils.py
@@ -198,7 +198,7 @@ raise -def open_if_exists(filename, mode='r'): +def open_if_exists(filename, mode='rb'): """Returns a file descriptor for the filename if that file exists, otherwise `None`. """