[Erp5-report] r41684 jm - in /erp5/trunk/bt5/erp5_simulation_legacy: DocumentTemplateItem/ bt/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 22 23:29:18 CET 2010


Author: jm
Date: Wed Dec 22 23:29:18 2010
New Revision: 41684

URL: http://svn.erp5.org?rev=41684&view=rev
Log:
SimulationLegacyPatches: fix AttributeError

Modified:
    erp5/trunk/bt5/erp5_simulation_legacy/DocumentTemplateItem/SimulationLegacyPatches.py
    erp5/trunk/bt5/erp5_simulation_legacy/bt/revision

Modified: erp5/trunk/bt5/erp5_simulation_legacy/DocumentTemplateItem/SimulationLegacyPatches.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation_legacy/DocumentTemplateItem/SimulationLegacyPatches.py?rev=41684&r1=41683&r2=41684&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation_legacy/DocumentTemplateItem/SimulationLegacyPatches.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation_legacy/DocumentTemplateItem/SimulationLegacyPatches.py [utf8] Wed Dec 22 23:29:18 2010
@@ -73,7 +73,10 @@ def patch():
   ## SimulationMovement
 
   from Products.ERP5.Document.SimulationMovement import SimulationMovement
-  del SimulationMovement.isFrozen
+  try:
+    del SimulationMovement.isFrozen
+  except AttributeError:
+    pass
 
   def isCompleted(self):
     """Zope publisher docstring. Documentation in ISimulationMovement"""

Modified: erp5/trunk/bt5/erp5_simulation_legacy/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation_legacy/bt/revision?rev=41684&r1=41683&r2=41684&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation_legacy/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation_legacy/bt/revision [utf8] Wed Dec 22 23:29:18 2010
@@ -1 +1 @@
-8
\ No newline at end of file
+9
\ No newline at end of file



More information about the Erp5-report mailing list