summaryrefslogtreecommitdiff
path: root/morphlib/source.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-17 16:43:10 +0000
committerRichard Maw <richard.maw@gmail.com>2014-09-19 12:43:27 +0000
commit945c60a1aa0b48f49c08e70206a5ca24f1c710bb (patch)
tree63fb67231b76cb5f7da734b5278362a5433a5863 /morphlib/source.py
parent529bd21549060c8a8caa1901bf2325fcca079dca (diff)
downloadmorph-945c60a1aa0b48f49c08e70206a5ca24f1c710bb.tar.gz
Remove Artifact compatibility methods
Diffstat (limited to 'morphlib/source.py')
-rw-r--r--morphlib/source.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/source.py b/morphlib/source.py
index ae46f0c0..4ad54ed9 100644
--- a/morphlib/source.py
+++ b/morphlib/source.py
@@ -70,8 +70,8 @@ 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.dependent_sources:
- artifact.dependent_sources.append(self)
+ if self not in artifact.dependents:
+ artifact.dependents.append(self)
def depends_on(self, artifact): # pragma: no cover
'''Do we depend on ``artifact``?'''