X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fadmin.py;h=218eea578ed7ef9bf5f78a32898f745570c91827;hb=cd2fb635e33bd1214f73ab1ea9633808bba72f43;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"]