summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 1f8c3183..5734989d 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -1576,7 +1576,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)
class ZipProvider(EggProvider):