summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-08 15:16:20 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-08 15:48:28 +0000
commitd69df54e580cbd75d0e4a3b8ef28e7b1feb6030b (patch)
treec86f3de5d6bff3edfad2db66721742a10b10d939
parent62c25a895ce44b8ab19fdc9b4c7815b9972eb9af (diff)
downloadmorph-d69df54e580cbd75d0e4a3b8ef28e7b1feb6030b.tar.gz
Revert "Ensure that none of the _orig_* fields are in the cache key"
This reverts commit 4124c50b8dc3dfb0ffb933153d0fe6385edf389c. This commit is no longer needed now that morph2 is gone. Conflicts: morphlib/cachekeycomputer.py
-rw-r--r--morphlib/cachekeycomputer.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/morphlib/cachekeycomputer.py b/morphlib/cachekeycomputer.py
index b124b789..292047c8 100644
--- a/morphlib/cachekeycomputer.py
+++ b/morphlib/cachekeycomputer.py
@@ -122,10 +122,7 @@ class CacheKeyComputer(object):
# products is omitted as they are part of the split-rules
elif kind in ('system', 'stratum'):
morphology = artifact.source.morphology
- # Exclude fields starting with _orig_. This filtering can be
- # removed once the morph2 code is gone.
- morph_dict = dict((k, morphology[k]) for k in morphology.keys()
- if not k.startswith('_orig_'))
+ morph_dict = dict((k, morphology[k]) for k in morphology.keys())
# Disregard all fields of a morphology that aren't important
ignored_fields = (