X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=katie.py;fp=katie.py;h=cf3936fac6b71344d5d25e848d4b5c81c3f46aca;hb=a60c72b16695992b92f6acf88381d5ae8ce9335f;hp=637de2779e236687f0742b19150eb91d0a28e152;hpb=d1b80c815c6f838297de84d01fe3675195dc0090;p=dak.git diff --git a/katie.py b/katie.py index 637de277..cf3936fa 100644 --- a/katie.py +++ b/katie.py @@ -2,7 +2,7 @@ # Utility functions for katie # Copyright (C) 2001, 2002, 2003, 2004 James Troup -# $Id: katie.py,v 1.49 2004-11-27 13:29:17 troup Exp $ +# $Id: katie.py,v 1.50 2004-11-27 16:07: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 @@ -726,7 +726,7 @@ distribution."""; type_id = db_access.get_override_type_id(type); # FIXME: nasty non-US speficic hack - if component.lower().startswith() == "non-us/": + if component.lower().startswith("non-us/"): component = component[7:]; q = self.projectB.query("SELECT s.section, p.priority FROM override o, section s, priority p WHERE package = '%s' AND suite = %s AND component = %s AND type = %s AND o.section = s.id AND o.priority = p.id"