提交 a60c72b1 编写于 作者: J James Troup

2004-11-27 James Troup <james@nocrew.org> * katie.py (Katie.in_override_p):...

2004-11-27  James Troup  <james@nocrew.org>	* katie.py (Katie.in_override_p): fix .startswith() usage.
上级 d1b80c81
......@@ -2,7 +2,7 @@
# Utility functions for katie
# Copyright (C) 2001, 2002, 2003, 2004 James Troup <james@nocrew.org>
# $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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册