diff --git a/lib/Bastion/Curator.py b/lib/Bastion/Curator.py index bcf6f36..bd26d8f 100644 --- a/lib/Bastion/Curator.py +++ b/lib/Bastion/Curator.py @@ -8,7 +8,7 @@ from Bastion.Common import Thing, Boggle, canStruct from Bastion.Model import ARK, isAsset from Bastion.Chronology import Quantim - +from Bastion.Humane import humanize class BLONDE: """ @@ -238,7 +238,15 @@ def __init__(self, head, anchor): self.anchor = anchor def __repr__(self): - return "({}~{})".format(str(self.head), str(self.anchor)) + elapsed = self.head.when.latest - self.anchor.when.earliest + opts = { + 'badge': self.head.badge, + 'genus': self.head.genus, + 'latest': self.head.when.latest, + 'earliest': self.anchor.when.earliest, + 'elapsed': humanize(elapsed) + } + return "({badge}/{genus} @ {latest} - {earliest} ({elapsed}))".format(**opts) @property def genus(self):