Modified: CalendarServer/branches/users/glyph/uuid-normalize/twistedcaldav/directory/augment.py (9281 => 9282)
--- 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