def announce_presence(self, myid, url):
        print ((myid, url, self.url) % "announcing myself as %s on %s to %s")
        data = {"key": "123",
                "message": dumps({"url": url}),
                "signature": "123"}
        r = requests.post(self.url + "/" + myid,
                          data=dumps(data),
                          headers={"CONTENT-TYPE": "application/json"})
        assert r.status_code == 200
dataset/ETHPy150Open hpk42/p4p/attic/friend_client.py/LookupService.announce_presence/swapped operands of `%`