diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-09-22 09:22:56 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-09-22 09:22:56 +0000 |
commit | cb7eed0a589c7b2ea62ca6df789422d09b9dcb43 (patch) | |
tree | e6bb5d5c4e06f14de98569298cc00e3fcbbf829f /morphlib/morphology.py | |
parent | e62eced3044c2383de3029e9d7ae2b2649704e80 (diff) | |
parent | 945c60a1aa0b48f49c08e70206a5ca24f1c710bb (diff) | |
download | morph-cb7eed0a589c7b2ea62ca6df789422d09b9dcb43.tar.gz |
Merge branch 'baserock/richardmaw-os/tidy-build-logic-v7'
Reviewed-by: Lars Wirzenius (+2 to misc fixups)
Reviewed-by: Sam Thursfield (+1 to per-source building)
Reviewed-by: Paul Sherwood (+1 to per-source building)
Diffstat (limited to 'morphlib/morphology.py')
-rw-r--r-- | morphlib/morphology.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/morphlib/morphology.py b/morphlib/morphology.py index 314c315a..9bd9bb5b 100644 --- a/morphlib/morphology.py +++ b/morphlib/morphology.py @@ -43,3 +43,9 @@ class Morphology(UserDict.IterableUserDict): self.filename = None self.dirty = None + @property + def needs_artifact_metadata_cached(self): # pragma: no cover + return self.get('kind') == 'stratum' + + def __hash__(self): + return id(self) |