Commits

Anonymous committed 11f3837

added encoding declarations to Python files

Comments (0)

Files changed (10)

extra/test-parser.py

 #!/usr/bin/env python
+# -*- coding: utf-8 -*-
 from __future__ import with_statement
 import pprint
 import sys
+# -*- coding: utf-8 -*-
 # todo.py
 # This is a to-do list example for MultiBase
 # It requires Python 2.5

extra/vowelcount.py

+# -*- coding: utf-8 -*-
 # vowelcount.py
 
 from clap import SingleBase, Command, Option, ScriptError
+from clap.help import ANSIHelpFormatter
 
 VOWELS = 'aeiouAEIOU'
 
 
 if __name__ == '__main__':
     base = SingleBase(VowelCounterCommand)
+    base.help_formatter_class = ANSIHelpFormatter
     base.run()

lib/clap/__init__.py

+# -*- coding: utf-8 -*-
 """
 clap
 ====
+# -*- coding: utf-8 -*-
 """
 clap.ansi
 =========
+# -*- coding: utf-8 -*-
 """
 clap.base
 =========

lib/clap/command.py

+# -*- coding: utf-8 -*-
 """
 clap.command
 ============
+# -*- coding: utf-8 -*-
 """
 clap.help
 =========

lib/clap/parser.py

+# -*- coding: utf-8 -*-
 """
 clap.parser
 ===========

lib/clap/sysinfo.py

+# -*- coding: utf-8 -*-
 """
 clap.sysinfo
 ============