diff options
author | jaseg <git@jaseg.de> | 2022-01-22 15:00:05 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-01-22 15:00:05 +0100 |
commit | 7cf41c6a72e52a63b4f4d4497732a72d6623eec8 (patch) | |
tree | b58607dd787173da641e21b678753855358495e5 /gerbonara/gerber/utils.py | |
parent | b85e8b0065c1b90159970ed8139f0747e953eb3f (diff) | |
download | gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.tar.gz gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.tar.bz2 gerbonara-7cf41c6a72e52a63b4f4d4497732a72d6623eec8.zip |
Fix a few more tests
Diffstat (limited to 'gerbonara/gerber/utils.py')
-rw-r--r-- | gerbonara/gerber/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gerbonara/gerber/utils.py b/gerbonara/gerber/utils.py index 30b03c9..fded04a 100644 --- a/gerbonara/gerber/utils.py +++ b/gerbonara/gerber/utils.py @@ -86,6 +86,9 @@ class LengthUnit: def __deepcopy__(self, memo): return self + def __str__(self): + return self.shorthand + MILLIMETERS_PER_INCH = 25.4 Inch = LengthUnit('inch', 'in', MILLIMETERS_PER_INCH) |