diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-28 07:24:50 +0200 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-28 07:24:50 +0200 |
| commit | 59162c6aacc3b9b28ec40363f479fe93c324ad11 (patch) | |
| tree | fabf93ce45a2ca0717100e7a97a4b8595684b0c6 /ez_setup.py | |
| parent | b18a46ca2ea403917863b4469c366321abb2fe0c (diff) | |
| download | python-setuptools-bitbucket-59162c6aacc3b9b28ec40363f479fe93c324ad11.tar.gz | |
Suppress arguments to __new__. ZipFile doesn't want them, and object deprecates them.
Diffstat (limited to 'ez_setup.py')
| -rw-r--r-- | ez_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ez_setup.py b/ez_setup.py index df3848a3..1f2468f9 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -86,7 +86,7 @@ class ContextualZipFile(zipfile.ZipFile): """ if hasattr(zipfile.ZipFile, '__exit__'): return zipfile.ZipFile(*args, **kwargs) - return super(ContextualZipFile, cls).__new__(cls, *args, **kwargs) + return super(ContextualZipFile, cls).__new__(cls) @contextlib.contextmanager |
