X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fadmin.py;h=218eea578ed7ef9bf5f78a32898f745570c91827;hb=1d6c35970efaaa35a4511976510661b548e19514;hp=663b196b64db06534df436c910ed40d519575362;hpb=e6a0eee330810ba5bdb752f67f7dc6cc2b623184;p=dak.git diff --git a/dak/admin.py b/dak/admin.py index 663b196b..218eea57 100755 --- a/dak/admin.py +++ b/dak/admin.py @@ -359,6 +359,7 @@ def show_config(command): connstr += "?port=%s" % cnf["DB::Port"] print connstr elif mode == 'db-shell': + e = [] if cnf.has_key("DB::Service"): e.append('PGSERVICE') print "PGSERVICE=%s" % cnf["DB::Service"]