コード例 #1
0
ファイル: python_filters.py プロジェクト: mrflip/dexy
    def process_text(self, input_text):
        if self.artifact.args.has_key('width'):
            width = self.artifact.args['width']
        else:
            width=self.DEFAULT_WIDTH

        return wrap_text(input_text, width)
コード例 #2
0
ファイル: python_filters.py プロジェクト: rpavlik/dexy
 def process_text(self, input_text):
     return wrap_text(input_text, 79)