[svn r37788] guido, unless i am missing something there seem to be two

problems with your making Channel's public: you didn't import
it (py.__.* is not lazy) and it fails the apigen tests even
after fixing it.

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-02 02:18:06 +01:00
parent 272812fd76
commit 443a0b4614
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ def get_documentable_items(pkgdir):
sys.path.insert(0, str(pkgdir.dirpath()))
rootmod = __import__(pkgdir.basename)
d = pkg_to_dict(rootmod)
d['execnet.Channel'] = py.__.execnet.channel.Channel
from py.__.execnet.channel import Channel
#d['execnet.Channel'] = Channel # XXX doesn't work
return 'py', d
def build(pkgdir, dsa, capture):