Can someone tell me what this code does ?

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Can someone tell me what this code does ?
Date: 2017-08-07 22:50:27
Message-ID: CADK3HH+MKVDGSDTWPbz+Gy6YLgry9NbYOM6sy=C3p+VDTPof+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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)
DriverRegistry.load_drivers()

return drivers

Dave Cramer

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2017-08-08 04:15:16 Re: Fix key error
Previous Message Dave Cramer 2017-08-07 18:53:54 Fix key error