Skip to content

Commit

Permalink
Merge fix from Zope-2_5-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Simpson committed Feb 15, 2002
1 parent e9478e7 commit 84e0087
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#
##############################################################################
__doc__='''Python Scripts Product Initialization
$Id: __init__.py,v 1.10 2001/12/21 17:09:13 evan Exp $'''
__version__='$Revision: 1.10 $'[11:-2]
$Id: __init__.py,v 1.11 2002/02/15 16:29:17 evan Exp $'''
__version__='$Revision: 1.11 $'[11:-2]

import PythonScript
try:
Expand Down Expand Up @@ -48,7 +48,8 @@ def initialize(context):
def recompile(self):
'''Recompile all Python Scripts'''
base = self.this()
scripts = base.ZopeFind(base, obj_metatypes=('Script (Python)',))
scripts = base.ZopeFind(base, obj_metatypes=('Script (Python)',),
search_sub=1)
names = []
for name, ob in scripts:
if ob._v_change:
Expand Down

0 comments on commit 84e0087

Please sign in to comment.