Revision: 9282 http://trac.macosforge.org/projects/calendarserver/changeset/9282 Author: glyph@apple.com Date: 2012-05-24 13:33:58 -0700 (Thu, 24 May 2012) Log Message: ----------- It's OK if we can't rewrite the augments file. Modified Paths: -------------- CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/directory/augment.py Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/directory/augment.py =================================================================== --- CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/directory/augment.py 2012-05-24 20:33:55 UTC (rev 9281) +++ CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/directory/augment.py 2012-05-24 20:33:58 UTC (rev 9282) @@ -109,8 +109,12 @@ new.uid = uid.upper() remove.append(old) add.append(new) - yield self.removeAugmentRecords(remove) - yield self.addAugmentRecords(add) + try: + yield self.removeAugmentRecords(remove) + yield self.addAugmentRecords(add) + except IOError: + # It's OK if we can't re-write the file. + pass @inlineCallbacks