This should work but, assuming the file is there you can also do
T2 = local_import('t2').T2
It is cleaner
On Feb 1, 4:07 pm, Wes James <[email protected]> wrote:
> I downloaded your latest source and moved my app in to place and I get:
>
> exec(\'from applications.%s.modules.t2 import T2\' % request.application)
> File "<string>", line 1, in <module>
> ImportError: No module named applications.cnrsa.modules.t2
>
> I move it back to 1.74.8 - no problem.
>
> -wes
>
> On Mon, Feb 1, 2010 at 12:49 PM, mdipierro <[email protected]> wrote:
> > Entering panic mode!
>
> > You are correct about 1). There is a major bug in 1.74.8. One line in
> > tools.py appears to be missing. I must have accidentally while
> > applying the "remember me" patch.
>
> > I have fixed this in trunk. I have posted 1.74.9.
>
> > !!! EVERYONE PLEASE UPGRADE. THIS IS A MAJOR SECURITY ISSUE !!!
>
>
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.