def print_list(self, clist, indent=0):
        if clist:
            width = self._termwidth - 9
            indent = min(max(indent,0),width)
            ps = " " * indent
            try:
                for c in clist[:-1]:
                    cs = "%s, " % (c,)
                    if width > len(ps) + len(cs):
                        self.print_obj(ps)
                        ps = "%s%s" % (" " * indent, cs)
                    else:
                        ps += cs
                self.print_obj("%s%s" % (ps, clist[-1]))
            except tty.PageQuitError:
                pass
dataset/ETHPy150Open kdart/pycopia/CLI/pycopia/UI.py/UserInterface.print_list/swapped operands of `>`