[PyCrust-cvs] PyCrust buffer.py,1.3,1.4
Brought to you by:
pobrien
From: <po...@us...> - 2003-04-06 04:27:44
|
Update of /cvsroot/pycrust/PyCrust In directory sc8-pr-cvs1:/tmp/cvs-serv7549 Modified Files: buffer.py Log Message: Minor tweak. Index: buffer.py =================================================================== RCS file: /cvsroot/pycrust/PyCrust/buffer.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** buffer.py 4 Apr 2003 04:25:23 -0000 1.3 --- buffer.py 6 Apr 2003 04:27:40 -0000 1.4 *************** *** 124,128 **** code = self.editor.GetText() module = imp.new_module(str(self.modulename)) ! namespace = module.__dict__ try: try: --- 124,128 ---- code = self.editor.GetText() module = imp.new_module(str(self.modulename)) ! namespace = module.__dict__.copy() try: try: *************** *** 132,136 **** return False else: ! self.interp.locals = namespace.copy() return True finally: --- 132,136 ---- return False else: ! self.interp.locals = namespace return True finally: |