summaryrefslogtreecommitdiff
path: root/gerber
diff options
context:
space:
mode:
authorPhilipp Klaus <philipp.klaus@gmail.com>2015-02-18 15:39:42 +0100
committerPhilipp Klaus <philipp.klaus@gmail.com>2015-02-28 15:48:35 +0100
commitf74d9fcdf1d5634d915e9b84418d61d4b5e34d55 (patch)
tree9a7f031c53c2851f0a7d34d183f3a1a58cbb6fb3 /gerber
parent2590eefc962b0a209ebdcbd281d093a07b141da5 (diff)
downloadgerbonara-f74d9fcdf1d5634d915e9b84418d61d4b5e34d55.tar.gz
gerbonara-f74d9fcdf1d5634d915e9b84418d61d4b5e34d55.tar.bz2
gerbonara-f74d9fcdf1d5634d915e9b84418d61d4b5e34d55.zip
`sys.stderr.write()` instead of `print >> sys.stderr, "..."`
Diffstat (limited to 'gerber')
-rw-r--r--gerber/__main__.py2
1 files changed, 1 insertions, 1 deletions
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 <filename> <filename>..."
+ sys.stderr.write("Usage: python -m gerber <filename> <filename>...\n")
sys.exit(1)
ctx = GerberSvgContext()