Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for super() usage on "old style class" ZipFile (#546)
I was experienceing an error of "TypeError: must be type, not classobj" on the line using `super()._extract_member()` below. This error appears to be due to the `zipfile.ZipFile` class never inheriting from `object` which is a requirement since py2.2 (2001). Since the use of `super()` in `PermPreservingZipFile()` depends on `object` being somewhere in the inheritance tree, I am including it in the class definition of `PermPreservingZipFile()`. My testing of this patch locally has proven to solve the "TypeError" I was seeing.
- Loading branch information