Don't display error message on attachment count

This commit is contained in:
Cédric Krier committed 2008-04-10 17:05:18 +02:00
1 parent 9c7e32b128
commit f35c94ab30
1 file changed
+1 -2
+1 -2
View File
@@ -324,7 +324,6 @@ class ModelRecord(SignalEvent):
('res_model', '=', self.resource),
('res_id', '=', self.id),
])
except Exception, exception:
rpc.process_exception(exception, self.window)
except:
return 0
return self.attachment_count