From c5476aba69eded6ccc1343247219ea754e08e3ff Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 14 Jul 2018 11:10:40 +0200 Subject: o Adding @property accessor for timestamp. --- src/ee/kicad/model.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ee/kicad') diff --git a/src/ee/kicad/model.py b/src/ee/kicad/model.py index eacf8e2..8a514cd 100644 --- a/src/ee/kicad/model.py +++ b/src/ee/kicad/model.py @@ -80,6 +80,10 @@ class Component(object): def __hash__(self) -> int: return self._ref.__hash__() + @property + def timestamp(self): + return self._timestamp + @property def unit(self): return self._unit -- cgit v1.2.3