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/SystemEvents/Power_Suite.py | |
| 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/SystemEvents/Power_Suite.py')
| -rw-r--r-- | Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py index ef539b1..bfdf536 100644 --- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py +++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Power_Suite.py @@ -105,11 +105,11 @@ properties = _Prop_properties() applications = application application._superclassnames = [] -import Disk_Folder_File_Suite -import Standard_Suite -import Folder_Actions_Suite -import Login_Items_Suite -import Processes_Suite +from . import Disk_Folder_File_Suite +from . import Standard_Suite +from . import Folder_Actions_Suite +from . import Login_Items_Suite +from . import Processes_Suite application._privpropdict = { '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_, 'folder_actions_enabled' : _Prop_folder_actions_enabled, |
