summaryrefslogtreecommitdiff
path: root/gerber/__main__.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-02-18 13:29:38 -0200
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-02-18 13:29:38 -0200
commitca5044224c4d7805fadc07574529323c10301fa3 (patch)
tree378b5fc7aa9fb1fe179c75cdbeaa14778450db4a /gerber/__main__.py
parentae19376c40ac6edf3b97e9b47acac81386cd3fe9 (diff)
parented7d9ceb349f405ca40f43835a5fd6fc1beed98b (diff)
downloadgerbonara-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__.py6
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