severity 641154 minor
thanks

* Jakub Wilk <[email protected]>, 2011-09-10, 22:44:
| # apt-get install trac-mercurial
| [snip]
|
| # python -c 'import tracext.hg as m; print m'
| <module 'tracext.hg' from 
'/usr/lib/pymodules/python2.6/tracext/hg/__init__.pyc'>
|
| # apt-get install trac-git
| [snip]
|
| # python -c 'import tracext.hg as m; print m'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ImportError: No module named hg

Correction: trac uses pkg-resources, which makes it magically work:
| # python -c 'import tracext.hg as m; print m'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
| ImportError: No module named hg
|
| # python -c 'import trac; import tracext.hg as m; print m'
| <module 'tracext.hg' from 
'/usr/lib/pymodules/python2.7/tracext/hg/__init__.pyc'>

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to