Merge branch 'py37777777'

This commit is contained in:
chris committed 2019-03-10 10:35:38 +01:00
commit 95ae6caa29
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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)