projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91cf002
)
I'm using the 0.12 specs for the JPK driver, so allow version 0.12 files.
author
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 17:59:08 +0000
(13:59 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 8 Sep 2010 17:59:08 +0000
(13:59 -0400)
The previous range(12) code only went up to version 0.11.
hooke/driver/jpk.py
patch
|
blob
|
history
diff --git
a/hooke/driver/jpk.py
b/hooke/driver/jpk.py
index ba38f6a485d5b3c764318be8e21d45399c7c00c9..760d9f1709f2f04d17a4b2c2309626204a1eeb0a 100644
(file)
--- 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(1
2
)]:
+ if version not in ['0.%d' % i for i in range(1
3
)]:
raise NotImplementedError(
'JPK file version %s not supported (yet).' % version)
curve_info = self._zip_translate_params(