[Zope-Checkins] CVS: Products/PythonScripts - PythonScript.py:1.16.2.10

Evan Simpson evan@zope.com
Mon, 3 Dec 2001 15:18:22 -0500


Update of /cvs-repository/Products/PythonScripts
In directory cvs.zope.org:/tmp/cvs-serv27580

Modified Files:
      Tag: zope-2_3-branch
	PythonScript.py 
Log Message:
Backported fix - Scripts can fail to compile when their body is uploaded at
creation time.


=== Products/PythonScripts/PythonScript.py 1.16.2.9 => 1.16.2.10 ===
                 self._setupBindings(bindmap)
 
-            if self._p_changed:
-                self._makeFunction(1)
+            self._makeFunction(1)
         except:
             LOG(self.meta_type, ERROR, 'write failed', error=sys.exc_info())
             raise