Mercurial > hg > Feedworm
diff prettyprint.py @ 217:bb3c851b18b1
add source file endcoding header
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 05:33:34 +0200 |
parents | 2da2b691345d |
children | e34c53a3e407 |
line wrap: on
line diff
--- a/prettyprint.py Sun Apr 27 05:19:45 2014 +0200 +++ b/prettyprint.py Sun Apr 27 05:33:34 2014 +0200 @@ -1,4 +1,4 @@ - +# -*- coding: utf-8 -*- import sys newlineAfter = [ '{', '[', ',' ] @@ -47,4 +47,4 @@ filename = sys.argv[1] with open(filename) as file: - prettyPrint(file) \ No newline at end of file + prettyPrint(file)