Skip to content

Commit

Permalink
gamera_extra: fix compatiblity with Python 2.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed May 14, 2015
1 parent dae56db commit 25bef4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/gamera_extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ def __init__(self, plugin, name):
self._pixel_types = plugin.self_type.pixel_types
self._method = None
self.name = name
self.args = collections.OrderedDict()
if sys.version_info >= (2, 7):
self.args = collections.OrderedDict()
else: # <no-coverage>
# Oh well.
self.args = {}
for arg in plugin.args:
if arg.name == 'storage format':
continue
Expand Down

0 comments on commit 25bef4c

Please sign in to comment.