def _format_group(self, group, indent):
    widths = self._determine_column_widths(group)

    for line in group:
      buf = StringIO()
      buf.write(self._rendered_text_object(indent) or '')
      buf.write('|')

      for idx, col in enumerate(line):
        width = widths[idx]
        padding = width - len(col)
        buf.write(' ')
        buf.write(col)
        buf.write(' ' * padding)
        buf.write(' |')

      buf.write('\n')
      self._emit(buf.getvalue())
      buf.close()
dataset/ETHPy150Open waynemoore/sublime-gherkin-formatter/lib/gherkin.py/GherkinFormatter._format_group/original