From: <al...@us...> - 2010-08-05 17:56:25
|
Revision: 15343 http://translate.svn.sourceforge.net/translate/?rev=15343&view=rev Author: alaaosh Date: 2010-08-05 17:56:17 +0000 (Thu, 05 Aug 2010) Log Message: ----------- wrap suggestiong migration in transaction decorator Modified Paths: -------------- src/trunk/Pootle/local_apps/pootle_store/models.py Modified: src/trunk/Pootle/local_apps/pootle_store/models.py =================================================================== --- src/trunk/Pootle/local_apps/pootle_store/models.py 2010-08-05 15:40:54 UTC (rev 15342) +++ src/trunk/Pootle/local_apps/pootle_store/models.py 2010-08-05 17:56:17 UTC (rev 15343) @@ -1026,6 +1026,7 @@ self.pending = pending_name self.save() + @commit_on_success def import_pending(self): """import suggestions from legacy .pending files, into database""" self.init_pending() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |