diff options
author | Guido van Rossum <guido@python.org> | 2006-04-21 15:44:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-04-21 15:44:20 (GMT) |
commit | 6da48561cb7844526164d3a656c6d16afe904e3d (patch) | |
tree | 76b85ad3717da33ef7c6246807204b902a3ac920 /Lib/plat-mac/lib-scriptpackages/Netscape | |
parent | c350d1a1106658d968badf2c35f5b10ddaa59a3e (diff) | |
download | cpython-6da48561cb7844526164d3a656c6d16afe904e3d.zip cpython-6da48561cb7844526164d3a656c6d16afe904e3d.tar.gz cpython-6da48561cb7844526164d3a656c6d16afe904e3d.tar.bz2 |
Fix test_scriptpackage with pure will power.
I really don't know why I bother; these are all generated files.
But I don't recall how to regenerate them nor how to fix the generator.
The hardest part was fixing two mutual recursive imports;
somehow changing "import foo" into "from . import foo" where
foo and bar import each other AND both are imported from __init__.py
caused things to break. Bah.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/Netscape')
-rw-r--r-- | Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py b/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py index 0dc5398..6fc495f 100644 --- a/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py +++ b/Lib/plat-mac/lib-scriptpackages/Netscape/__init__.py @@ -3,13 +3,13 @@ Package generated from /Volumes/Sap/Applications (Mac OS 9)/Netscape Communicato """ import aetools Error = aetools.Error -import Standard_Suite -import Standard_URL_suite -import Mozilla_suite -import Text -import WorldWideWeb_suite -import PowerPlant -import Required_suite +from . import Standard_Suite +from . import Standard_URL_suite +from . import Mozilla_suite +from . import Text +from . import WorldWideWeb_suite +from . import PowerPlant +from . import Required_suite _code_to_module = { @@ -34,13 +34,13 @@ _code_to_fullname = { 'reqd' : ('Netscape.Required_suite', 'Required_suite'), } -from Standard_Suite import * -from Standard_URL_suite import * -from Mozilla_suite import * -from Text import * -from WorldWideWeb_suite import * -from PowerPlant import * -from Required_suite import * +from Netscape.Standard_Suite import * +from Netscape.Standard_URL_suite import * +from Netscape.Mozilla_suite import * +from Netscape.Text import * +from Netscape.WorldWideWeb_suite import * +from Netscape.PowerPlant import * +from Netscape.Required_suite import * def getbaseclasses(v): if not getattr(v, '_propdict', None): |