diff options
author | Richard Maw <richard.maw@gmail.com> | 2014-09-17 16:43:10 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-09-19 12:43:27 +0000 |
commit | 945c60a1aa0b48f49c08e70206a5ca24f1c710bb (patch) | |
tree | 63fb67231b76cb5f7da734b5278362a5433a5863 /morphlib/source.py | |
parent | 529bd21549060c8a8caa1901bf2325fcca079dca (diff) | |
download | morph-945c60a1aa0b48f49c08e70206a5ca24f1c710bb.tar.gz |
Remove Artifact compatibility methods
Diffstat (limited to 'morphlib/source.py')
-rw-r--r-- | morphlib/source.py | 4 |
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``?''' |