[CalendarServer-changes] [10651] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 6 11:04:03 PST 2013
Revision: 10651
http://trac.calendarserver.org//changeset/10651
Author: wsanchez at apple.com
Date: 2013-02-06 11:04:03 -0800 (Wed, 06 Feb 2013)
Log Message:
-----------
Add calendarserver_icalendar_validate
Modified Paths:
--------------
CalendarServer/trunk/setup.py
Added Paths:
-----------
CalendarServer/trunk/bin/calendarserver_icalendar_validate
Added: CalendarServer/trunk/bin/calendarserver_icalendar_validate
===================================================================
--- CalendarServer/trunk/bin/calendarserver_icalendar_validate (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_icalendar_validate 2013-02-06 19:04:03 UTC (rev 10651)
@@ -0,0 +1,33 @@
+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2013 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == "__main__":
+ if "PYTHONPATH" in globals():
+ sys.path.insert(0, PYTHONPATH)
+ else:
+ try:
+ import _calendarserver_preamble
+ except ImportError:
+ sys.exc_clear()
+
+ from calendarserver.tools.validcalendardata import main
+ main()
Property changes on: CalendarServer/trunk/bin/calendarserver_icalendar_validate
___________________________________________________________________
Added: svn:executable
+ *
Modified: CalendarServer/trunk/setup.py
===================================================================
--- CalendarServer/trunk/setup.py 2013-02-05 17:07:09 UTC (rev 10650)
+++ CalendarServer/trunk/setup.py 2013-02-06 19:04:03 UTC (rev 10651)
@@ -134,6 +134,7 @@
#"bin/calendarserver_config",
#"bin/calendarserver_dbinspect",
"bin/calendarserver_export",
+ #"bin/calendarserver_icalendar_validate",
#"bin/calendarserver_load_augmentdb",
#"bin/calendarserver_make_partition",
#"bin/calendarserver_manage_postgres",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130206/cbcf7d51/attachment.html>
More information about the calendarserver-changes
mailing list