X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=heidi;h=e708cbdf81f0629c01e4bf24554437ade0eb6776;hb=381930bcfa8b8c398b4f0dcf825c72f8fc3d1462;hp=a523b1692a54f082401154b2226d5b2cf872c237;hpb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;p=dak.git diff --git a/heidi b/heidi index a523b169..e708cbdf 100755 --- a/heidi +++ b/heidi @@ -1,8 +1,8 @@ #!/usr/bin/env python # Manipulate suite tags -# Copyright (C) 2000, 2001 James Troup -# $Id: heidi,v 1.11 2001-11-18 19:57:58 rmurray Exp $ +# Copyright (C) 2000, 2001, 2002 James Troup +# $Id: heidi,v 1.14 2002-05-14 15:29:18 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 @@ -42,7 +42,7 @@ ####################################################################################### -import os, pg, string, sys; +import pg, string, sys; import apt_pkg; import utils, db_access, logging; @@ -278,7 +278,7 @@ def main (): get_list(suite); else: Logger = logging.Logger(Cnf, "heidi"); - if file_list != []: + if file_list: for file in file_list: process_file(utils.open_file(file), suite, action); else: