bernhard: utils/testing print_events_start_end.py,1.1,1.2
cvs@kolab.org
cvs at kolab.org
Thu Oct 4 11:09:05 CEST 2007
- Previous message: gunnar: server/kolabd/kolabd/templates httpd.conf.template.in, 1.10, 1.11 imapd.annotation_definitions.template.in, 1.2, 1.3 imapd.conf.template.in, 1.13, 1.14 main.cf.template.in, 1.16, 1.17
- Next message: gunnar: server/kolabd/kolabd/templates httpd.conf.template.in, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: gunnar: server/kolabd/kolabd/templates httpd.conf.template.in, 1.10, 1.11 imapd.annotation_definitions.template.in, 1.2, 1.3 imapd.conf.template.in, 1.13, 1.14 main.cf.template.in, 1.16, 1.17
- Next message: gunnar: server/kolabd/kolabd/templates httpd.conf.template.in, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Kolab-commits
mailing list