diff options
author | jaseg <git@jaseg.de> | 2021-06-13 15:13:29 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-06-13 15:13:29 +0200 |
commit | 4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c (patch) | |
tree | 9b491f11c2c77c5e8de8b74eed75162838c5dbf5 /gerbonara/gerber/common.py | |
parent | 83e498b8917e0b3287871c27a4acc95634acab2e (diff) | |
download | gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.gz gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.tar.bz2 gerbonara-4bb99811221d0cbbf52e6ab59a76bbe6bd8fba6c.zip |
Make pcb-tools pytest pass without warnings
Diffstat (limited to 'gerbonara/gerber/common.py')
-rw-r--r-- | gerbonara/gerber/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/common.py b/gerbonara/gerber/common.py index f496809..12b87c4 100644 --- a/gerbonara/gerber/common.py +++ b/gerbonara/gerber/common.py @@ -36,7 +36,7 @@ def read(filename): CncFile object representing the file, either GerberFile, ExcellonFile, or IPCNetlist. Returns None if file is not of the proper type. """ - with open(filename, 'rU') as f: + with open(filename, 'r') as f: data = f.read() return loads(data, filename) |