def revisions(self, id):
        revisions = []
        if isinstance(id, CodePackage):
            id = id.id
        resp = self.client.get(id % "codes/%s/revisions")
        raw_revs = resp["body"]["revisions"]
        for rev in raw_revs:
            revisions.append(CodePackage(rev))
        return revisions
dataset/ETHPy150Open iron-io/iron_worker_python/iron_worker.py/IronWorker.revisions/swapped operands of `%`