summaryrefslogtreecommitdiff
path: root/gerbonara/ipc356.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 12:26:38 +0200
committerjaseg <git@jaseg.de>2022-06-21 12:26:38 +0200
commit218f9d9b1f0c28969a339beead4a059a46f728dc (patch)
tree20a97044045bc143ff10082b61183495c913b38b /gerbonara/ipc356.py
parentee233317f1c5541a302c4f062b9957ae7ea335c2 (diff)
downloadgerbonara-218f9d9b1f0c28969a339beead4a059a46f728dc.tar.gz
gerbonara-218f9d9b1f0c28969a339beead4a059a46f728dc.tar.bz2
gerbonara-218f9d9b1f0c28969a339beead4a059a46f728dc.zip
Make gerbonara python3.8 compatible.v0.11.0
Diffstat (limited to 'gerbonara/ipc356.py')
-rw-r--r--gerbonara/ipc356.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gerbonara/ipc356.py b/gerbonara/ipc356.py
index 06a87f0..435a805 100644
--- a/gerbonara/ipc356.py
+++ b/gerbonara/ipc356.py
@@ -23,7 +23,7 @@ import math
import re
from enum import Enum
import warnings
-from dataclasses import dataclass, KW_ONLY
+from dataclasses import dataclass
from pathlib import Path
from .cam import CamFile, FileSettings
@@ -414,7 +414,6 @@ class TestRecord:
rotation : float = 0
solder_mask : SoldermaskInfo = None
lefover : str = None
- _ : KW_ONLY
unit : LengthUnit = None
def __str__(self):
@@ -563,7 +562,6 @@ def format_coord_chain(line, settings, coords, cont, unit):
class Outline:
outline_type : OutlineType
outline : [(float,)]
- _ : KW_ONLY
unit : LengthUnit = None
@classmethod
@@ -596,7 +594,6 @@ class Conductor:
layer : int
aperture : (float,)
coords : [(float,)]
- _ : KW_ONLY
unit : LengthUnit = None
@classmethod