[Zope-Checkins] CVS: Zope2 - symbols.py:1.3.8.1

shane@digicool.com shane@digicool.com
Tue, 26 Jun 2001 15:22:40 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/RestrictedPython/compiler
In directory korak.digicool.com:/tmp/cvs-serv22998/compiler

Modified Files:
      Tag: Zope-2_4-branch
	symbols.py 
Log Message:
Same as trunk



--- Updated File symbols.py in package Zope2 --
--- symbols.py	2001/05/14 21:48:06	1.3
+++ symbols.py	2001/06/26 19:22:39	1.3.8.1
@@ -162,12 +162,12 @@
                     child_globals.append(name)
                 elif isinstance(self, FunctionScope) and sc == SC_LOCAL:
                     self.cells[name] = 1
-                else:
+                elif sc != SC_CELL:
                     child_globals.append(name)
             else:
                 if sc == SC_LOCAL:
                     self.cells[name] = 1
-                else:
+                elif sc != SC_CELL:
                     child_globals.append(name)
         return child_globals