Re: [web2py] Re: Import problem in Web2py 2.3.2 vs 1.99.4

2013-02-06 Thread Massimo Di Pierro
Hope it does not break anything else. On Wednesday, 6 February 2013 13:18:51 UTC-6, Álvaro José Iradier wrote: > > Works, but the identation at the "else:" on line 84 in custom_import.py is > wrong. FIxed identation, and it apparently works perfect. > > Thanks very much! > > > On Wed, Feb 6, 201

Re: [web2py] Re: Import problem in Web2py 2.3.2 vs 1.99.4

2013-02-06 Thread Álvaro J . Iradier
Works, but the identation at the "else:" on line 84 in custom_import.py is wrong. FIxed identation, and it apparently works perfect. Thanks very much! On Wed, Feb 6, 2013 at 6:35 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I agree. I am have attempted a fix. Can you try it? > >

Re: [web2py] Re: Import problem in Web2py 2.3.2 vs 1.99.4

2013-02-06 Thread Massimo Di Pierro
I agree. I am have attempted a fix. Can you try it? On Wednesday, 6 February 2013 01:23:06 UTC-6, Álvaro José Iradier wrote: > > I agree they should get priority over system wide modules, but not over > imports for files on the same directory. So in Geraldo reports, it does not > make sense that

Re: [web2py] Re: Import problem in Web2py 2.3.2 vs 1.99.4

2013-02-05 Thread Álvaro J . Iradier
I agree they should get priority over system wide modules, but not over imports for files on the same directory. So in Geraldo reports, it does not make sense that in the situation: .../site-packages/geraldo/generators/__init__.py -> from pdf import PDFGenerator .../site-packages/geraldo/geraldo/g

[web2py] Re: Import problem in Web2py 2.3.2 vs 1.99.4

2013-02-05 Thread Massimo Di Pierro
The rule is that if something is imported web2py should first look in app/modules/ because app-level modules should get priority else you cannot override system wide modules. So 2.3.2 is doing the right thing. This did not work well in previous versions. On Tuesday, 5 February 2013 14:40:41 UTC