def request(self, call, *args):
        request = methodcaller(call, *args)
        try:
            val = request(self.srv)
        except api.PermissionError:
            whoami = self.srv.get_whoami()
            print("You don't have sufficient permissions"
                  " Login info: %s" % repr(whoami))
            return
        except (__HOLE__, IOError) as out:
            print(repr(type(out)), out)
        except http.HTTPError as out:
            print out
        except Exception as out:
            print(repr(type(out)), out)
        else:
            return val
dataset/ETHPy150Open bkjones/bunnyq/bunnyq.py/Bunny.request