Skip to content
Myr

Correctly compare version type.

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

authored by Cory Benfield · committed by Cory Benfield · parent 02a4654 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/bccache.py+1 added-1 removed
26 unmodified lines
27from jinja2.utils import open_if_exists282930# marshal works better on 3.x, one hack less required31if sys.version_info[0] > 3:31if sys.version_info[0] >= 3:32 from io import BytesIO33 marshal_dump = marshal.dump34 marshal_load = marshal.load35else:
266 unmodified lines