Permalink
Browse files

Minor fix for last_minor()

Signed-off-by: Stratos Psomadakis <psomas@cslab.ece.ntua.gr>
  • Loading branch information...
1 parent 8cd1d06 commit 9282aa4082570a14b1f060c3b5419e0346c12900 @psomas committed Jul 27, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 ketchup
View
@@ -206,7 +206,7 @@ def revbase(ver):
t1 = t - 1
if t1 == 2:
t1 = 2.6
- if r == last_minor(t1):
+ if t1 != 1.6 and r == last_minor(t1):
t = t1
return "%s.%s" % (t, r)
@@ -411,9 +411,11 @@ def last_minor(t):
p.sort()
if not p:
+ transitions[url] = None
return None
transitions[url] = p[-1]
+
return p[-1]
def find_info(ver):

0 comments on commit 9282aa4

Please sign in to comment.