commit f5a19695c831289f06beff92799eb6514e2196eb parent b1f7bc9779c4b29c9f3850a8108dd8785a394b18 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 15 Mar 2012 00:12:58 +0100 fix plint_irc.py Diffstat:
plint_irc.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plint_irc.py b/plint_irc.py @@ -85,8 +85,9 @@ if len(sys.argv) != 3: sys.exit(1) f = open(sys.argv[1]) -template = template.Template(f) +x = f.read() f.close() +template = template.Template(x) template.reject_errors = True