From f74d9fcdf1d5634d915e9b84418d61d4b5e34d55 Mon Sep 17 00:00:00 2001 From: Philipp Klaus Date: Wed, 18 Feb 2015 15:39:42 +0100 Subject: `sys.stderr.write()` instead of `print >> sys.stderr, "..."` --- gerber/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerber/__main__.py b/gerber/__main__.py index a792182..195973b 100644 --- a/gerber/__main__.py +++ b/gerber/__main__.py @@ -21,7 +21,7 @@ if __name__ == '__main__': import sys if len(sys.argv) < 2: - print >> sys.stderr, "Usage: python -m gerber ..." + sys.stderr.write("Usage: python -m gerber ...\n") sys.exit(1) ctx = GerberSvgContext() -- cgit