2011/6/20 selecta <gr...@delarue-berlin.de> > > > try to replace: > > > > oldmod = sys.modules['pygments.lexers'] > > > > with: > > > > import pygments.lexers as oldmod > > hagrr why must pygements be so ... > > i tried that but i got > File "applications/pygments_test/modules/pygments/lexers/__init__.py", > line 223, in <module> > import pygments.lexers as oldmod > AttributeError: 'module' object has no attribute 'lexers' > > The importer won't be very hard to fix. I just need the access the name of the application with the thread local variable. I think Jonathan did that stuff. I'll wait for his answer. --
A+ ------------- Pierre My blog and profile (http://pierrethibault.posterous.com)<http://pierrethibault.posterous.com> YouTube page (http://www.youtube.com/user/tubetib)<http://www.youtube.com/user/tubetib> Twitter (http://twitter.com/pierreth2) <http://twitter.com/pierreth2>