def _process(self, stack, group, stream):
        for token in stream:
            if token.is_whitespace() and '\n' in token.value:
                if token.value.endswith('\n'):
                    self.line = ''
                else:
                    self.line = token.value.splitlines()[-1]
            elif (token.is_group()
                  and token.__class__ not in self.keep_together):
                token.tokens = self._process(stack, token, token.tokens)
            else:
                val = u(token)
                if self.width > len(self.line) + len(val):
                    match = re.search('^ +', self.line)
                    if match is not None:
                        indent = match.group()
                    else:
                        indent = ''
                    yield sql.Token(T.Whitespace, '\n%s' % indent)
                    self.line = indent
                self.line += val
            yield token
dataset/ETHPy150Open andialbrecht/sqlparse/sqlparse/filters.py/RightMarginFilter._process/swapped operands of `>`