def get(self, key):
        buf = self._dstore.get(key)
        hm = self.__new_hmac(key)
        hash = buf[-hm.digest_size:]

        # shorten buf
        buf = buf[:-hm.digest_size]

        hm.update(buf)

        if not hm.digest() == hash:
            raise VerificationException(key % 'Invalid hash on key %r')

        return buf
dataset/ETHPy150Open mbr/simplekv/simplekv/crypt.py/HMACDecorator.get/swapped operands of `%`