From c66012218feeb5a9a4228890f44a9a27dcaafeca Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 17 Sep 2012 15:21:03 +0200 Subject: [PATCH] dak/admin.py: add subcommand to print configuration value --- dak/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dak/admin.py b/dak/admin.py index 798aa3b7..8ba79797 100755 --- a/dak/admin.py +++ b/dak/admin.py @@ -556,6 +556,8 @@ def show_config(command): print "PGPORT=%s" % cnf["DB::Port"] e.append('PGPORT') print "export " + " ".join(e) + elif mode == 'get': + print cnf.get(args[2]) else: session = DBConn().session() try: -- 2.39.5