Ejemplo n.º 1
0
    def do_show(self, args):

        graph = PrettyTable(["config", "value"])
        graph.align["config"] = "l"

        for k, v in conf.iteritems():
            if v and k != 'httpHeaders':
                graph.add_row([k, v])
        print graph
Ejemplo n.º 2
0
    def do_show(self, args):

        graph = PrettyTable(["config", "value"])
        graph.align["config"] = "l"

        for k,v  in conf.iteritems():
            if v and k != 'httpHeaders':
                graph.add_row([k, v])
        print graph