summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 364e3f0..f7486f8 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -1576,6 +1576,10 @@ class LoreAttestation:
self.mv = False
self.pv = False
+ @property
+ def attid(self):
+ return '%s-%s-%s' % (self.i[:8], self.m[:8], self.p[:8])
+
def __repr__(self):
out = list()
out.append(' i: %s' % self.i)