[CalendarServer-changes] [9468] CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 20 11:59:37 PDT 2012
Revision: 9468
http://trac.macosforge.org/projects/calendarserver/changeset/9468
Author: dre at apple.com
Date: 2012-07-20 11:59:37 -0700 (Fri, 20 Jul 2012)
Log Message:
-----------
Fix schema version detection
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py
Modified: CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py 2012-07-20 00:31:26 UTC (rev 9467)
+++ CalendarServer/trunk/calendarserver/tools/bootstrapdatabase.py 2012-07-20 18:59:37 UTC (rev 9468)
@@ -239,7 +239,7 @@
except IOError:
print "Unable to open the schema file: %s" % (SCHEMAFILE,)
else:
- found = re.search("insert into CALENDARSERVER values \('VERSION', '(\d)+'\);", data)
+ found = re.search("insert into CALENDARSERVER values \('VERSION', '(\d+)'\);", data)
if found is None:
print "Schema is missing required schema VERSION insert statement: %s" % (SCHEMAFILE,)
else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120720/f34cb007/attachment.html>
More information about the calendarserver-changes
mailing list