summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2014-09-10 09:11:48 +0000
committerRichard Maw <richard.maw@gmail.com>2014-09-19 12:43:27 +0000
commit938a6f7a176c7867209bd5ed23937798a498b30d (patch)
treecdae756a0476e64d4270dcf7b62456cd325b989b
parentdea5e91b2e7b109051bff68e15f8f55fe8c950bd (diff)
downloadmorph-938a6f7a176c7867209bd5ed23937798a498b30d.tar.gz
Fix show-dependencies plugin to use source deps.
-rw-r--r--morphlib/plugins/show_dependencies_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/plugins/show_dependencies_plugin.py b/morphlib/plugins/show_dependencies_plugin.py
index 3a1cb7ad..e70f6bfb 100644
--- a/morphlib/plugins/show_dependencies_plugin.py
+++ b/morphlib/plugins/show_dependencies_plugin.py
@@ -74,6 +74,6 @@ class ShowDependenciesPlugin(cliapp.Plugin):
for artifact in reversed(root_artifact.walk()):
self.app.output.write(' %s\n' % artifact)
- for dependency in sorted(artifact.dependencies, key=str):
- self.app.output.write(' -> %s\n' % dependency)
+ for dep in sorted(artifact.source.dependencies, key=str):
+ self.app.output.write(' -> %s\n' % dep)