diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-02-18 13:29:38 -0200 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-02-18 13:29:38 -0200 |
commit | ca5044224c4d7805fadc07574529323c10301fa3 (patch) | |
tree | 378b5fc7aa9fb1fe179c75cdbeaa14778450db4a /gerber/__main__.py | |
parent | ae19376c40ac6edf3b97e9b47acac81386cd3fe9 (diff) | |
parent | ed7d9ceb349f405ca40f43835a5fd6fc1beed98b (diff) | |
download | gerbonara-ca5044224c4d7805fadc07574529323c10301fa3.tar.gz gerbonara-ca5044224c4d7805fadc07574529323c10301fa3.tar.bz2 gerbonara-ca5044224c4d7805fadc07574529323c10301fa3.zip |
Merge pull request #16 from pklaus/relative-imports
Fixing more relative import statements
Diffstat (limited to 'gerber/__main__.py')
-rw-r--r-- | gerber/__main__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gerber/__main__.py b/gerber/__main__.py index 8f20212..a792182 100644 --- a/gerber/__main__.py +++ b/gerber/__main__.py @@ -16,8 +16,8 @@ # the License. if __name__ == '__main__': - from .common import read - from .render import GerberSvgContext + from gerber.common import read + from gerber.render import GerberSvgContext import sys if len(sys.argv) < 2: @@ -27,7 +27,7 @@ if __name__ == '__main__': ctx = GerberSvgContext() ctx.alpha = 0.95 for filename in sys.argv[1:]: - print "parsing %s" % filename + print("parsing %s" % filename) if 'GTO' in filename or 'GBO' in filename: ctx.color = (1, 1, 1) ctx.alpha = 0.8 |