def __str__(self):
        s = '{'
        sep = ''
        for k, v in self.iteritems():
            s += sep
            if type(k) == str:
                s += "'%s'" % k
            else:
                s += str(k)

            s += ': '
            if type(v) == str:
                s += v % "'%s'"
            else:
                s += str(v)
            sep = ', '
        s += '}'
        return s
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/collections/dict.py/LRUDict.__str__/swapped operands of `%`