From: James Troup Date: Fri, 15 Feb 2002 04:01:07 +0000 (+0000) Subject: fix sorting by time X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=17e9953dd661c4bc6da7c3c7072fb364c2f49bf4;p=dak.git fix sorting by time --- diff --git a/lisa b/lisa index 7d600f1d..68d40f36 100755 --- a/lisa +++ b/lisa @@ -2,7 +2,7 @@ # Handles NEW and BYHAND packages # Copyright (C) 2001 James Troup -# $Id: lisa,v 1.1 2002-02-12 23:08:07 troup Exp $ +# $Id: lisa,v 1.2 2002-02-15 04:01:07 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -58,7 +58,7 @@ import apt_pkg, apt_inst; import db_access, fernanda, katie, logging, utils; # Globals -lisa_version = "$Revision: 1.1 $"; +lisa_version = "$Revision: 1.2 $"; Cnf = None; Options = None; @@ -131,12 +131,12 @@ def changes_compare_by_time (a, b): try: a_changes = utils.parse_changes(a, 0) except: - return -1; + return 1; try: b_changes = utils.parse_changes(b, 0) except: - return 1; + return -1; utils.cc_fix_changes (a_changes); utils.cc_fix_changes (b_changes);