summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2010-04-12 20:50:57 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2010-04-12 20:50:57 +0000
commitef05feae5967e6dbff8d1c66be583e24118d5632 (patch)
tree74fe642885d3d7fafb4bebeccaa108ebfc22ac8a /net-p2p/deluge/files
parentMarking clamav-0.96 ppc for bug 314087 (diff)
downloadhistorical-ef05feae5967e6dbff8d1c66be583e24118d5632.tar.gz
historical-ef05feae5967e6dbff8d1c66be583e24118d5632.tar.bz2
historical-ef05feae5967e6dbff8d1c66be583e24118d5632.zip
Fix bug 314829 by backporting version split patch from v1.2.3
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r--net-p2p/deluge/files/deluge-1.2.2-versionsplit.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-p2p/deluge/files/deluge-1.2.2-versionsplit.patch b/net-p2p/deluge/files/deluge-1.2.2-versionsplit.patch
new file mode 100644
index 000000000000..6aabf04d0ed9
--- /dev/null
+++ b/net-p2p/deluge/files/deluge-1.2.2-versionsplit.patch
@@ -0,0 +1,13 @@
+diff --git a/deluge/common.py b/deluge/common.py
+index bbdfd4d..e0a7459 100644
+--- a/deluge/common.py
++++ b/deluge/common.py
+@@ -525,7 +525,7 @@ class VersionSplit(object):
+ def __init__(self, ver):
+ ver = ver.lower()
+ vs = ver.split("_") if "_" in ver else ver.split("-")
+- self.version = vs[0]
++ self.version = [int(x) for x in vs[0].split(".")]
+ self.suffix = None
+ if len(vs) > 1:
+ for s in ("rc", "alpha", "beta", "dev"):