thomas: utils/admin hash-imap-spool,1.3,1.4
cvs at kolab.org
cvs at kolab.org
Mon Feb 4 15:22:46 CET 2008
Author: thomas
Update of /kolabrepository/utils/admin
In directory doto:/tmp/cvs-serv2152
Modified Files:
hash-imap-spool
Log Message:
hash-imap-spool: Print final error message only if the error really occurred.
Index: hash-imap-spool
===================================================================
RCS file: /kolabrepository/utils/admin/hash-imap-spool,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- hash-imap-spool 23 Jan 2008 16:43:33 -0000 1.3
+++ hash-imap-spool 4 Feb 2008 14:22:44 -0000 1.4
@@ -145,8 +145,9 @@
paths = read_conffile(conffile)
- for path in paths:
- hash_spool_dir(path)
+ if paths:
+ for path in paths:
+ hash_spool_dir(path)
else:
print "Could not find any spool directories in `%s'." % conffile
sys.exit(23)
More information about the commits
mailing list