summaryrefslogtreecommitdiff
path: root/morphlib/source.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-11 13:08:24 +0000
committerRichard Maw <richard.maw@gmail.com>2014-09-19 12:43:26 +0000
commita013626cf32e8f07be16590e3caa4d5f9839b426 (patch)
treeaa656b67b46263a66f64085d1dc24251c81a4db5 /morphlib/source.py
parent5329c28a1de4ec0662344b78e744a2bd1affac99 (diff)
downloadmorph-a013626cf32e8f07be16590e3caa4d5f9839b426.tar.gz
FIXUP: Add compatibility methods to Artifact for fields that moved to Source
This means we can avoid having to rewrite everything immediately after the fields moved.
Diffstat (limited to 'morphlib/source.py')
-rw-r--r--morphlib/source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/source.py b/morphlib/source.py
index 86249452..ae46f0c0 100644
--- a/morphlib/source.py
+++ b/morphlib/source.py
@@ -70,7 +70,7 @@ class Source(object):
def add_dependency(self, artifact): # pragma: no cover
if artifact not in self.dependencies:
self.dependencies.append(artifact)
- if self not in artifact.dependents:
+ if self not in artifact.dependent_sources:
artifact.dependent_sources.append(self)
def depends_on(self, artifact): # pragma: no cover