diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-01-09 15:36:23 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-01-09 15:36:23 (GMT) |
commit | 766e10c4a808727ecefca7dec59819121477d27f (patch) | |
tree | ad073c32a43992d458827f2e84976009d422f3bc /Modules/zipimport.c | |
parent | 69fdbf9cb02b09fdebe3ce13ec3be56d69657a3c (diff) | |
parent | 21e7d4cd5eb5a1ee153baf4c7915db80e6ca59e1 (diff) | |
download | cpython-766e10c4a808727ecefca7dec59819121477d27f.zip cpython-766e10c4a808727ecefca7dec59819121477d27f.tar.gz cpython-766e10c4a808727ecefca7dec59819121477d27f.tar.bz2 |
merge 3.3
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 02bdb28..9f662f5 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -961,10 +961,8 @@ safely_reopen_archive(ZipImporter *self) } Py_XDECREF(self->files); /* free the old value. */ self->files = files; - } else { - /* No problem, discard the new stat data. */ - Py_DECREF(stat_now); } + Py_DECREF(stat_now); } /* stat succeeded */ return fp; |