[Zope-Checkins] CVS: Products/PythonScripts - __init__.py:1.10

Evan Simpson evan@zope.com
Fri, 21 Dec 2001 12:09:13 -0500


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

Modified Files:
	__init__.py 
Log Message:
Fix recompile hack.


=== Products/PythonScripts/__init__.py 1.9 => 1.10 ===
     context.registerHelp()
     context.registerHelpTitle('Script (Python)')
+    global _m
+    _m['recompile'] = recompile
     
 # utility stuff
 
@@ -57,5 +59,3 @@
     if names:
         return 'The following Scripts were recompiled:\n' + '\n'.join(names)
     return 'No Scripts were found that required recompilation.'
-
-_m = {'recompile': recompile}