Commit 1e9da134 authored by Shane Hathaway's avatar Shane Hathaway

Plugged memory leak in extensions (on trunk)

parent 68936ed8
...@@ -86,8 +86,8 @@ __doc__='''Standard routines for handling extensions. ...@@ -86,8 +86,8 @@ __doc__='''Standard routines for handling extensions.
Extensions currently include external methods and pluggable brains. Extensions currently include external methods and pluggable brains.
$Id: Extensions.py,v 1.15 2001/04/03 14:42:30 brian Exp $''' $Id: Extensions.py,v 1.16 2001/05/17 17:57:03 shane Exp $'''
__version__='$Revision: 1.15 $'[11:-2] __version__='$Revision: 1.16 $'[11:-2]
from string import find, split from string import find, split
import os, zlib, rotor, imp import os, zlib, rotor, imp
...@@ -224,7 +224,7 @@ def getObject(module, name, reload=0, ...@@ -224,7 +224,7 @@ def getObject(module, name, reload=0,
if old: if old:
for k, v in m.items(): old[k]=v for k, v in m.items(): old[k]=v
else: modules[module]=m modules[module]=m
return r return r
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment