mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
merge 3.4
This commit is contained in:
commit
d4d7737c3f
1 changed files with 1 additions and 0 deletions
|
|
@ -1143,6 +1143,7 @@ get_data(PyObject *archive, PyObject *toc_entry)
|
|||
bytes_read = fread(buf, 1, data_size, fp);
|
||||
} else {
|
||||
fclose(fp);
|
||||
Py_DECREF(raw_data);
|
||||
PyErr_Format(ZipImportError, "can't read Zip file: %R", archive);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue