Temporary try..excepts while we stabilize the new datastore.

This commit is contained in:
Tomeu Vizoso
2007-05-10 14:16:48 +02:00
parent 46eea8fc7f
commit 30114f9545
2 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -193,7 +193,10 @@ class Activity(Window, gtk.Container):
f = open(self.jobject.file_path, 'w')
f.write('mec')
f.close()
datastore.write(self.jobject)
try:
datastore.write(self.jobject)
except Exception, e:
logging.error(e)
else:
self.jobject = None