def trunc(self, s):
        if self.maxstr > len(s):
            return s[:self.maxstr-3] + '...'
        else:
            return s
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/plugins/Info.py/Info.trunc/swapped operands of `>`