]> git.decadent.org.uk Git - dak.git/blobdiff - heidi
shorter if list not null test
[dak.git] / heidi
diff --git a/heidi b/heidi
index a523b1692a54f082401154b2226d5b2cf872c237..e708cbdf81f0629c01e4bf24554437ade0eb6776 100755 (executable)
--- a/heidi
+++ b/heidi
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Manipulate suite tags
-# Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: heidi,v 1.11 2001-11-18 19:57:58 rmurray Exp $
+# Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
+# $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: