Revision
9315
Author
sagen@apple.com
Date
2012-05-30 13:16:59 -0700 (Wed, 30 May 2012)

Log Message

Allow config migration to continue if the config directory exists but the plist doesn't

Modified Paths

Diff

Modified: CalendarServer/trunk/contrib/migration/calendarmigrator.py (9314 => 9315)


--- CalendarServer/trunk/contrib/migration/calendarmigrator.py	2012-05-30 18:19:34 UTC (rev 9314)
+++ CalendarServer/trunk/contrib/migration/calendarmigrator.py	2012-05-30 20:16:59 UTC (rev 9315)
@@ -294,7 +294,7 @@
     if os.path.exists(newConfigDir):
         if os.path.exists(newConfigFile):
             log("Calendar configuration already exists in %s" % (newConfigDir,))
-        return
+            return
     else:
         os.mkdir(newConfigDir)