示例#1
0
文件: core.py 项目: rpaloschi/lettuce
 def represent_columns(self):
     lines = strings.json_to_string(self.columns, self.non_unique_keys).splitlines()
     return "\n".join([(" " * self.table_indentation) + line for line in lines]) + "\n"
示例#2
0
 def represent_columns(self):
     lines = strings.json_to_string(self.columns,
                                    self.non_unique_keys).splitlines()
     return u"\n".join([(u" " * self.table_indentation) + line
                        for line in lines]) + "\n"