summaryrefslogtreecommitdiff
path: root/community/flumotion
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-09-21 15:49:37 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-09-21 15:49:37 +0000
commitae08410274473c5ab78d300ea2365c4b1070cc61 (patch)
treeb7c8ba3dee66edfadb32e57332ed76025981c94d /community/flumotion
parentd739da01541d53414129d3171df221cfe2440fe5 (diff)
Wed Sep 21 15:49:35 UTC 2011
Diffstat (limited to 'community/flumotion')
-rw-r--r--community/flumotion/python27.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/community/flumotion/python27.patch b/community/flumotion/python27.patch
deleted file mode 100644
index 70b00bbeb..000000000
--- a/community/flumotion/python27.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Index: flumotion/twisted/reflect.py
-===================================================================
---- flumotion/twisted/reflect.py (revision 8894)
-+++ flumotion/twisted/reflect.py (working copy)
-@@ -57,7 +57,10 @@
- # if the ImportError happened in the module being imported,
- # this is a failure that should be handed to our caller.
- shortname = trialname.split('.')[-1]
-- r = str(sys.exc_info()[1])
-+ # if we're on python2.7 the module is wrapped in single quotation
-+ # marks thus broking this method that relies on the message ending
-+ # with the name that failed.
-+ r = str(sys.exc_info()[1]).strip("'")
- if not (r.startswith('No module named') and
- r.endswith(shortname)):
- raise
-@@ -71,3 +74,10 @@
- obj = getattr(obj, n)
-
- return obj
-+
-+# Use the method that comes with twisted if we're running on 8.0 or higher.
-+# FIXME: Remove this module when we can depend on Twisted 8.0
-+from twisted.copyright import version
-+twistedVersion = tuple([int(n) for n in version.split('.')[0:3]])
-+if twistedVersion >= (8, 0, 0):
-+ from twisted.python.reflect import namedAny