Tres Seaver wrote:
 >>> provideAdapter(adapter,adapts=(None,None),provides=ITest)
 >>> getMultiAdapter((1,1),ITest)
Traceback (most recent call last):
...
zope.component.interfaces.ComponentLookupError:
  ((1, 1), <InterfaceClass __main__.ITest>, u'')

Oh dear, what have I done wrong here?

The "order" of your adapter registration is *one*,

Does the following not register for an order of two?

provideAdapter(adapter,adapts=(None,None),provides=ITest)

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to