[Zope-dev] Re: Problem importing Membership alpha
Ty Sarna
tsarna@endicor.com
14 Jun 2000 17:05:03 GMT
In article <001301bfd606$ad3a7320$7b5addc7@laptop>,
Kevin Dangoor <kid@kendermedia.com> wrote:
> I created it using the CVS version of Zope... I didn't *think* there was
> anything 2.2 specific going on, but apparently there is.
>
> I just took a look around. It appears that the current version of
> LoginManager uses the Owned module to import "UnownableOwner". I guess
> that's so it can create the default methods.
>
> It looks like the current LoginManager is 2.2 only then.
?? It does:
# Support Zope-2.2a1 onwership foo
try:
from AccessControl.Owned import UnownableOwner
except ImportError:
UnownableOwner=None
Specifically to be compatible with both, and we're using it on 2.1.6!