summaryrefslogtreecommitdiff
path: root/morphlib/plugins/show_dependencies_plugin.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-07-31 13:37:12 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-08-01 13:15:42 +0000
commitec876f9ed332b2a50a34c8834e1ca4ed4813f39a (patch)
treeef2692a6ccde7a88365613bdf6203f3b197d2e50 /morphlib/plugins/show_dependencies_plugin.py
parent581eec98112cd00507cfce7f52cf9833d7e2107c (diff)
downloadmorph-ec876f9ed332b2a50a34c8834e1ca4ed4813f39a.tar.gz
Publicize _itertriplets and _create_source_pool
itertriplets and create_source_pool are more convenient than doing it manually, and since they need to be used by plugins, they shouldn't be private. The private name is kept as an alias so that external plugins that were poking at the internals for convenience aren't broken.
Diffstat (limited to 'morphlib/plugins/show_dependencies_plugin.py')
-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 ff78e392..e214a92f 100644
--- a/morphlib/plugins/show_dependencies_plugin.py
+++ b/morphlib/plugins/show_dependencies_plugin.py
@@ -48,8 +48,8 @@ class ShowDependenciesPlugin(cliapp.Plugin):
rrc = None
# traverse the morphs to list all the sources
- for repo, ref, filename in self.app._itertriplets(args):
- pool = self.app._create_source_pool(
+ for repo, ref, filename in self.app.itertriplets(args):
+ pool = self.app.create_source_pool(
lrc, rrc, (repo, ref, filename))
resolver = morphlib.artifactresolver.ArtifactResolver()