diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:26:59 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:26:59 (GMT) |
commit | c574b43d35e08f85843bb72938850ecd1dde7d82 (patch) | |
tree | 2f43d80d0eb72736d92150b3a285ec181a008667 /Mac/Modules/ctl/ctlscan.py | |
parent | da6a9719940925c3a6173434d7aa55b9a69c3b4d (diff) | |
download | cpython-c574b43d35e08f85843bb72938850ecd1dde7d82.zip cpython-c574b43d35e08f85843bb72938850ecd1dde7d82.tar.gz cpython-c574b43d35e08f85843bb72938850ecd1dde7d82.tar.bz2 |
Fixed a nasty bug where FindControl could return a reference to a
destroyed python object.
Diffstat (limited to 'Mac/Modules/ctl/ctlscan.py')
-rw-r--r-- | Mac/Modules/ctl/ctlscan.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py index e36db2c..661cbfe 100644 --- a/Mac/Modules/ctl/ctlscan.py +++ b/Mac/Modules/ctl/ctlscan.py @@ -3,11 +3,12 @@ import addpack addpack.addpack(':Tools:bgen:bgen') from scantools import Scanner +from bgenlocations import TOOLBOXDIR def main(): input = "Controls.h" output = "ctlgen.py" - defsoutput = "Controls.py" + defsoutput = TOOLBOXDIR + "Controls.py" scanner = MyScanner(input, output, defsoutput) scanner.scan() scanner.close() |