Re: [Zope3-Users] Strange package-include behaviour

2006-08-20 Thread Marc Rijken
I saw I was not very clear. With import I means include 
package=.browser/ in ZCML. That will not work correctly, with the two 
options below (rename browser subpackage or import browser in package) 
to let it function right. Very strang, isn't it?


Marc

Marc Rijken schreef:

Hi all,

When I try to import a browser subpackage in a package, a browser 
subpackage of another package will be included. If I rename the first 
browser subpackage to i.e. 'browsers', it works oke. Also, if I import 
the browser subpackage in the __init__.py, it works oke. For me, this is 
very strange. Does one of you guys have an idea of the reason behind this??


Best regards,

Marc
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] Strange package-include behaviour

2006-08-20 Thread Roger Ineichen
Hi Marc

[...]
 I saw I was not very clear. With import I means include 
 package=.browser/ in ZCML. That will not work correctly, 
 with the two options below (rename browser subpackage or 
 import browser in package) to let it function right. Very 
 strang, isn't it?

Not existing package get silently ignored if you use
include package=.browser /. 

Does anybody know why we don't trow a exception? Or is 
this a bug?

Regards
Roger Ineichen
_
END OF MESSAGE


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users