summaryrefslogtreecommitdiff
path: root/gerbonara/cad/kicad/sexp_mapper.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-18 21:54:26 +0200
committerjaseg <git@jaseg.de>2023-07-18 21:54:26 +0200
commita1b8cbf86160eb2fbe73ffda61c953589ffa3512 (patch)
tree4123a00e361d48e2b1fb73039858633b847ab931 /gerbonara/cad/kicad/sexp_mapper.py
parent58142cb0c7c0a38dd07592632a7e0c1622cc99d9 (diff)
downloadgerbonara-a1b8cbf86160eb2fbe73ffda61c953589ffa3512.tar.gz
gerbonara-a1b8cbf86160eb2fbe73ffda61c953589ffa3512.tar.bz2
gerbonara-a1b8cbf86160eb2fbe73ffda61c953589ffa3512.zip
Make kicad eat schematics written by gerbonara
Diffstat (limited to 'gerbonara/cad/kicad/sexp_mapper.py')
-rw-r--r--gerbonara/cad/kicad/sexp_mapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/sexp_mapper.py b/gerbonara/cad/kicad/sexp_mapper.py
index c6e7464..96727e4 100644
--- a/gerbonara/cad/kicad/sexp_mapper.py
+++ b/gerbonara/cad/kicad/sexp_mapper.py
@@ -62,7 +62,7 @@ def sexp(t, v):
t, = t
return [sexp(t, elem) for elem in v]
else:
- raise TypeError(f'Python type {t} has no defined s-expression serialization')
+ raise TypeError(f'Python type {t} of value {v!r} has no defined s-expression serialization')
except MappingError as e:
raise e