bernhard: utils/testing print_events_start_end.py,1.1,1.2
cvs at kolab.org
cvs at kolab.org
Thu Oct 4 11:09:05 CEST 2007
Author: bernhard
Update of /kolabrepository/utils/testing
In directory doto:/tmp/cvs-serv10650
Modified Files:
print_events_start_end.py
Log Message:
Better message when no kolab event is found.
Index: print_events_start_end.py
===================================================================
RCS file: /kolabrepository/utils/testing/print_events_start_end.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- print_events_start_end.py 11 Jan 2007 19:20:53 -0000 1.1
+++ print_events_start_end.py 4 Oct 2007 09:09:02 -0000 1.2
@@ -2,7 +2,7 @@
"""Decodes Kolab event email files and prints out contained start + end dates.
Will search the current working directory for files like [1-9][0-9]*.
-WARNING: This is an experimental script to run manually for analysis purposes.
+WARNING: This script is experimental to be run manually for analysis purposes.
Usage: %(basename)
@@ -86,7 +86,9 @@
sys.stderr.write("Something wrong with file %s!\n" % file)
raise
- if not kolabeventxml: continue
+ if not kolabeventxml:
+ print "no kolab event found!!!"
+ continue
# We want to print out the values of start-date and end-date tags
More information about the commits
mailing list