summaryrefslogtreecommitdiff
path: root/graphics/py-pydot/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-pydot/files/patch-setup.py')
-rw-r--r--graphics/py-pydot/files/patch-setup.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/py-pydot/files/patch-setup.py b/graphics/py-pydot/files/patch-setup.py
index 34907ad4e031..e4c9a8b15d76 100644
--- a/graphics/py-pydot/files/patch-setup.py
+++ b/graphics/py-pydot/files/patch-setup.py
@@ -1,5 +1,14 @@
--- setup.py.orig 2012-01-03 00:15:07 UTC
+++ setup.py
+@@ -2,7 +2,7 @@
+
+ try:
+ from distutils.core import setup
+-except ImportError, excp:
++except ImportError as excp:
+ from setuptools import setup
+
+ import pydot
@@ -31,5 +31,5 @@ setup( name = 'pydot',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description = "\n".join(pydot.__doc__.split('\n')),