summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/panelize/common.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-13 15:13:29 +0200
committerjaseg <git@jaseg.de>2021-06-13 15:13:29 +0200
commit4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c (patch)
tree9b491f11c2c77c5e8de8b74eed75162838c5dbf5 /gerbonara/gerber/panelize/common.py
parent83e498b8917e0b3287871c27a4acc95634acab2e (diff)
downloadgerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.gz
gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.bz2
gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.zip
Make pcb-tools pytest pass without warnings
Diffstat (limited to 'gerbonara/gerber/panelize/common.py')
-rw-r--r--gerbonara/gerber/panelize/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/panelize/common.py b/gerbonara/gerber/panelize/common.py
index 03bf9b0..ac25138 100644
--- a/gerbonara/gerber/panelize/common.py
+++ b/gerbonara/gerber/panelize/common.py
@@ -15,7 +15,7 @@ from . import excellon
from . import dxf
def read(filename, format=None):
- with open(filename, 'rU') as f:
+ with open(filename, 'r') as f:
data = f.read()
return loads(data, filename, format=format)