]> git.decadent.org.uk Git - dak.git/blobdiff - jeri
lose second argument to open_file since we use default, change foo == [] to not foo.
[dak.git] / jeri
diff --git a/jeri b/jeri
index ba7209d6cf59ac54e2f07b218a38160273ce71c9..616c26729bfb13067b12980f91b12171097e3dc8 100755 (executable)
--- a/jeri
+++ b/jeri
@@ -2,7 +2,7 @@
 
 # Dependency check proposed-updates
 # Copyright (C) 2001  James Troup <james@nocrew.org>
-# $Id: jeri,v 1.1 2001-11-04 20:41:50 troup Exp $
+# $Id: jeri,v 1.2 2001-11-04 22:28:44 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
@@ -286,7 +286,7 @@ def main ():
 
     if Options["Help"]:
         usage(0);
-    if arguments == []:
+    if not arguments:
         utils.fubar("need at least one package name as an argument.");
 
     projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));