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.
This commit is contained in:
Guido van Rossum 2006-04-21 15:44:20 +00:00
parent c350d1a110
commit 6da48561cb
21 changed files with 139 additions and 128 deletions

View file

@ -148,8 +148,8 @@ class _Prop_warns_before_emptying(aetools.NProperty):
# element 'inlf' as ['indx', 'name']
# element 'pack' as ['indx', 'name']
disk._superclassnames = ['container']
import Files
import Finder_items
from . import Files
from . import Finder_items
disk._privpropdict = {
'_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
'capacity' : _Prop_capacity,