summaryrefslogtreecommitdiff
path: root/packages/python/python-pyreverse/fix-future.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-pyreverse/fix-future.patch')
-rw-r--r--packages/python/python-pyreverse/fix-future.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-pyreverse/fix-future.patch b/packages/python/python-pyreverse/fix-future.patch
new file mode 100644
index 0000000000..2bcba0dd39
--- /dev/null
+++ b/packages/python/python-pyreverse/fix-future.patch
@@ -0,0 +1,16 @@
+Index: pyreverse-0.5.2/setup.py
+===================================================================
+--- pyreverse-0.5.2.orig/setup.py
++++ pyreverse-0.5.2/setup.py
+@@ -17,10 +17,10 @@
+ # this program; if not, write to the Free Software Foundation, Inc.,
+ # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ """ Generic Setup script, takes package info from __pkginfo__.py file """
++from __future__ import nested_scopes
+
+ __revision__ = '$Id: setup.py,v 1.17 2005/01/05 11:40:41 syt Exp $'
+
+-from __future__ import nested_scopes
+ import os
+ import sys
+ import shutil