public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-misc/mendeleydesktop/files: mendeleydesktop-fix-python3.patch
@ 2015-01-25 15:37 Michael Weber (xmw)
  0 siblings, 0 replies; only message in thread
From: Michael Weber (xmw) @ 2015-01-25 15:37 UTC (permalink / raw
  To: gentoo-commits

xmw         15/01/25 15:37:11

  Added:                mendeleydesktop-fix-python3.patch
  Log:
  Version bump (bug 536656, thanks Andrés Becerra Sandoval, Marius Brehler &  Alexander), changed license file (bug 536686), adding myself as co-maintainer.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)

Revision  Changes    Path
1.1                  sci-misc/mendeleydesktop/files/mendeleydesktop-fix-python3.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/files/mendeleydesktop-fix-python3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/mendeleydesktop/files/mendeleydesktop-fix-python3.patch?rev=1.1&content-type=text/plain

Index: mendeleydesktop-fix-python3.patch
===================================================================
--- mendeleydesktop-1.13.1/bin/mendeleydesktop.orig 2015-01-15 15:49:15.589870680 +0100
+++ mendeleydesktop-1.13.1/bin/mendeleydesktop 2015-01-15 15:46:49.308954069 +0100
@@ -95,11 +95,11 @@
 		# Both version components are non-numeric, treat
 		# them as equal
 		return False
-	elif (version_part_a and version_part_b is None):
+	elif (type(version_part_a) is int and version_part_b is None):
 		# Left version component is numeric, right component is not.
 		# Treat the numeric part as greater
 		return False
-	elif (version_part_b and version_part_a is None):
+	elif (type(version_part_b) is int and version_part_a is None):
 		# Right version component is numeric, left component is not.
 		# Treat the numeric part as greater
 		return True





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-25 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-25 15:37 [gentoo-commits] gentoo-x86 commit in sci-misc/mendeleydesktop/files: mendeleydesktop-fix-python3.patch Michael Weber (xmw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox