aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-07-14 11:10:40 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-07-14 11:10:40 +0200
commitc5476aba69eded6ccc1343247219ea754e08e3ff (patch)
treefc9344a36eb855613acebbc7f75194ffe3a80fec
parent900f03ac4d43662d2d02fda50a2203def9633175 (diff)
downloadee-python-c5476aba69eded6ccc1343247219ea754e08e3ff.tar.gz
ee-python-c5476aba69eded6ccc1343247219ea754e08e3ff.tar.bz2
ee-python-c5476aba69eded6ccc1343247219ea754e08e3ff.tar.xz
ee-python-c5476aba69eded6ccc1343247219ea754e08e3ff.zip
o Adding @property accessor for timestamp.
-rw-r--r--src/ee/kicad/model.py4
1 files changed, 4 insertions, 0 deletions
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
@@ -81,6 +81,10 @@ class Component(object):
return self._ref.__hash__()
@property
+ def timestamp(self):
+ return self._timestamp
+
+ @property
def unit(self):
return self._unit