Re: Can someone tell me what this code does ?

2017-08-10 Thread Murtuza Zabuawala
Hi, On Wed, Aug 9, 2017 at 8:19 PM, Dave Cramer wrote: > So what is the policy of the project? Ideally the cruft should be removed. > > Would a patch doing so be committed? > ​Yes, I guess.​ Dave Cramer > > On 9 August 2017 at 00:28, Murtuza Zabuawala

Re: Can someone tell me what this code does ?

2017-08-09 Thread Dave Cramer
So what is the policy of the project? Ideally the cruft should be removed. Would a patch doing so be committed? Dave Cramer On 9 August 2017 at 00:28, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Yes, you are correct, at a moment that's all it does. > > On Tue, Aug 8, 2017

Re: Can someone tell me what this code does ?

2017-08-08 Thread Murtuza Zabuawala
Hi, This piece of code allow us to dynamically import all the available driver modules from '../utils/driver/' directory into our application. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company [image: https://community.postgresrocks.net/]

Can someone tell me what this code does ?

2017-08-07 Thread Dave Cramer
I'm fairly new to Python so excuse my naiveté. This code: in web/pgadmin/utils/driver/__init__.py does not appear to load the drivers into the drivers dictionary ? Or am I missing something def init_app(app): drivers = dict() setattr(app, '_pgadmin_server_drivers', drivers)