Add support for configuring database with port instead of socket

Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com>
This commit is contained in:
Leonidas Spyropoulos 2021-05-18 13:15:47 +01:00 committed by Kevin Morris
parent ac31f520ea
commit 64bc93926f
6 changed files with 35 additions and 11 deletions

View file

@ -32,6 +32,10 @@ def rehash():
_get_parser()
def get_with_fallback(section, option, fallback):
return _get_parser().get(section, option, fallback=fallback)
def get(section, option):
return _get_parser().get(section, option)