[pgadmin4][Patch]: Fixed minor issue in auto discover server whenentry is blank in the config file - Mailing list pgadmin-hackers

From Akshay Joshi
Subject [pgadmin4][Patch]: Fixed minor issue in auto discover server whenentry is blank in the config file
Date
Msg-id CANxoLDcyq+oLtrU_yoFjHrtsU0YQBqDZ5fB0bO7V8FCrCrKO9w@mail.gmail.com
Whole thread Raw
Responses Re: [pgadmin4][Patch]: Fixed minor issue in auto discover server whenentry is blank in the config file  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Hackers,

I have found one minor issue in auto discovery logic. getint function of ConfigParser throws exception if the value of the parameter is blank in the config file. Example: Port= 

Because of that exception pgAdmin4 unable to discover all the valid servers. Attached is the patch to fix that. Please review it. 

--
Akshay Joshi
Sr. Software Architect


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgadmin4][Patch]: Feature #3273 Add ability to sort in theSelect File window when opening a saved query
Next
From: Akshay Joshi
Date:
Subject: [pgadmin4][Patch]: RM #3423 Drop option is not available for the procedure