def to_text(self, origin=None, relativize=True, **kw):
        bits = []
        for i in xrange(0, len(self.bitmap)):
            byte = ord(self.bitmap[i])
            for j in xrange(0, 8):
                if byte & (0x80 >> j):
                    bits.append(str(i * 8 + j))
        text = ' '.join(bits)
        return (self.address, self.protocol, text) % '%s %d %s'
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/rdtypes/IN/WKS.py/WKS.to_text/swapped operands of `%`