def list_admins(self):
        loop = pyuv.Loop.default_loop()
        auth_mgr = AuthManager(loop, self.cfg)

        # open the auth db
        try:
            auth_mgr.open()
        except:
            logging.error("error while creating an admin",
                    exc_info=True)
            sys.exit(1)

        users = auth_mgr.user_by_type(0)
        for user in users:
            print("%s - %s" % (user['username'], user["key"]))
dataset/ETHPy150Open benoitc/gaffer/gaffer/gafferd/main.py/Server.list_admins/original