mirror of
https://github.com/echemdata/galvani.git
synced 2025-12-14 17:15:36 +00:00
Merge branch 'py37777777'
This commit is contained in:
@@ -7,6 +7,7 @@ cache:
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
- "3.7"
|
||||
install:
|
||||
- pip install tox-travis
|
||||
- sh get_testdata.sh
|
||||
|
||||
@@ -257,7 +257,7 @@ def read_VMP_modules(fileobj, read_module_data=True):
|
||||
while True:
|
||||
module_magic = fileobj.read(len(b'MODULE'))
|
||||
if len(module_magic) == 0: # end of file
|
||||
raise StopIteration
|
||||
break
|
||||
elif module_magic != b'MODULE':
|
||||
raise ValueError("Found %r, expecting start of new VMP MODULE" % module_magic)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user