devel/py-z3c.autoinclude: Fix build with setuptools 58.0.0+
With hat: python
This commit is contained in:
parent
4b3e03711b
commit
17ffca1b5c
1 changed files with 11 additions and 0 deletions
11
devel/py-z3c.autoinclude/files/patch-2to3
Normal file
11
devel/py-z3c.autoinclude/files/patch-2to3
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/z3c/autoinclude/dependency.py.orig 2016-01-29 12:30:33 UTC
|
||||
+++ src/z3c/autoinclude/dependency.py
|
||||
@@ -24,7 +24,7 @@ class DependencyFinder(DistributionManager):
|
||||
for dotted_name in dist_manager.dottedNames():
|
||||
try:
|
||||
module = resolve(dotted_name)
|
||||
- except ImportError, exc:
|
||||
+ except ImportError as exc:
|
||||
logging.getLogger("z3c.autoinclude").warn(
|
||||
"resolve(%r) raised import error: %s" % (dotted_name, exc))
|
||||
continue
|
Loading…
Reference in a new issue