]> git.decadent.org.uk Git - dak.git/blobdiff - julia
lose second argument to open_file since we use default, change foo == [] to not foo.
[dak.git] / julia
diff --git a/julia b/julia
index 6d5ff3746c20caeff54399ee052644187ab4f028..f3d8ac43890740b29e4ee56e8f43921bfed6b344 100755 (executable)
--- a/julia
+++ b/julia
@@ -2,7 +2,7 @@
 
 # Sync PostgreSQL with (LDAP-generated) passwd file
 # Copyright (C) 2001  James Troup <james@nocrew.org>
-# $Id: julia,v 1.2 2001-09-27 01:23:41 troup Exp $
+# $Id: julia,v 1.3 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
@@ -70,7 +70,7 @@ def main ():
 
     if Options["Help"]:
         usage();
-    if arguments == []:
+    if not arguments:
         utils.warn("julia needs the name of the passwd file to sync with as an argument.");
         usage(1);
     elif len(arguments) > 1: