Author: tille
Date: Thu Aug  5 11:23:08 2010
New Revision: 2320
URL: http://svn.debian.org/viewsvn/blends?rev=2320&view=rev

Log:
Make sure we get really the latest version in cases where we have different 
versions for different architectures which sometimes happens for non-free 
packages.


Modified:
   blends/trunk/webtools/blendstasktools.py

Modified: blends/trunk/webtools/blendstasktools.py
URL: 
http://svn.debian.org/viewsvn/blends/blends/trunk/webtools/blendstasktools.py?rev=2320&view=diff&r1=2320&r2=2319&p1=blends/trunk/webtools/blendstasktools.py&p2=blends/trunk/webtools/blendstasktools.py
==============================================================================
--- blends/trunk/webtools/blendstasktools.py    (original)
+++ blends/trunk/webtools/blendstasktools.py    Thu Aug  5 11:23:08 2010
@@ -292,7 +292,7 @@
           -- JOIN with release table to enable reasonable sorting
     WHERE r NOT LIKE '%-%'
           -- ignore releases like *-security etc.
-    ORDER BY releases.sort, version;"""
+    ORDER BY releases.sort ASC, version DESC;"""
 curs.execute(query)
 
 # Obtain upstream version in case it is newer than Debian version

_______________________________________________
Blends-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/blends-commit

Reply via email to