def info(attr): """ Information about the certificate and the proxy""" gr = Grid() if attr == "cert": gr.getInfo().certificate() elif attr == "proxy": gr.getProxy().info()