From: W. Trevor King Date: Wed, 8 Sep 2010 17:59:08 +0000 (-0400) Subject: I'm using the 0.12 specs for the JPK driver, so allow version 0.12 files. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c6d6c435d04464e27942b036228f40ec719fa01;p=hooke.git I'm using the 0.12 specs for the JPK driver, so allow version 0.12 files. The previous range(12) code only went up to version 0.11. --- diff --git a/hooke/driver/jpk.py b/hooke/driver/jpk.py index ba38f6a..760d9f1 100644 --- a/hooke/driver/jpk.py +++ b/hooke/driver/jpk.py @@ -79,7 +79,7 @@ class JPKDriver (Driver): if p.endswith('segment-header.properties')])): segments.append(self._zip_segment( f, path, info, zip_info, i, version)) - if version not in ['0.%d' % i for i in range(12)]: + if version not in ['0.%d' % i for i in range(13)]: raise NotImplementedError( 'JPK file version %s not supported (yet).' % version) curve_info = self._zip_translate_params(