def delete_names_with_prefix(self, deletable_type, deleteable,  name_prefix):
        deleted = []
        for d in deleteable:
            try:
                if d['name'].startswith(name_prefix):
                    delete_cmd = (self.options, deletable_type, d['name']) % '%s delete %s name="%s"'
                    (options, args) = self.parser.parse_args(shlex.split(delete_cmd))
                    mgmt = Management(options, args[1:])
                    mgmt.invoke_delete()
                    deleted.append(d['name'])
            except KeyError:
                # Some has no key 'name'
                pass
        return deleted
dataset/ETHPy150Open ooici/pyon/putil/rabbithelper.py/RabbitManagementHelper.delete_names_with_prefix/swapped operands of `%`