aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-12-05 10:04:23 +0800
committerperky <perky@FreeBSD.org>2004-12-05 10:04:23 +0800
commit7a1bf71f579e4fd54ece925494b0e5291bc3c279 (patch)
tree25b3df96234c531228fe5f37e852ae9ebc7fc956
parent4ac2b431ea805a05e818439137dd07bd559d1dd5 (diff)
downloadfreebsd-ports-gnome-7a1bf71f579e4fd54ece925494b0e5291bc3c279.tar.gz
freebsd-ports-gnome-7a1bf71f579e4fd54ece925494b0e5291bc3c279.tar.zst
freebsd-ports-gnome-7a1bf71f579e4fd54ece925494b0e5291bc3c279.zip
Fix build on Python 2.4
-rw-r--r--devel/py-plex/files/patch-Plex::Transitions.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/py-plex/files/patch-Plex::Transitions.py b/devel/py-plex/files/patch-Plex::Transitions.py
new file mode 100644
index 000000000000..25a1f423e093
--- /dev/null
+++ b/devel/py-plex/files/patch-Plex::Transitions.py
@@ -0,0 +1,16 @@
+--- Plex/Transitions.py.orig Sun Dec 5 11:01:02 2004
++++ Plex/Transitions.py Sun Dec 5 11:01:32 2004
+@@ -83,11 +83,11 @@
+ self.get_special(event).update(new_set)
+
+ def get_epsilon(self,
+- None = None):
++ _None = None):
+ """
+ Return the mapping for epsilon, or None.
+ """
+- return self.special.get('', None)
++ return self.special.get('', _None)
+
+ def items(self,
+ len = len):