summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-07-28 14:04:07 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-07-28 14:04:07 +0100
commit8d809fd1bc799e23f2ea885d8b58355cb26afc8f (patch)
tree3bdd580a5dc94778b472c26414738b5ed5916ad6
parent2c61412b43d2a30ac237ee3d03a61fc647fed0ba (diff)
downloadmorph-8d809fd1bc799e23f2ea885d8b58355cb26afc8f.tar.gz
Fix list-artifacts post chunks-in-definitionsbaserock/richardmaw/bugfix/fix-list-artifacts
The chunks in definitions change changed the api of create_source_pool, and because list artifacts is not covered by any tests, and the create_source_pool method was confused with a function of the same name that did not need changing, it failed to be fixed.
-rw-r--r--morphlib/plugins/list_artifacts_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/list_artifacts_plugin.py b/morphlib/plugins/list_artifacts_plugin.py
index 872c0754..8074206b 100644
--- a/morphlib/plugins/list_artifacts_plugin.py
+++ b/morphlib/plugins/list_artifacts_plugin.py
@@ -85,7 +85,7 @@ class ListArtifactsPlugin(cliapp.Plugin):
self.app.status(
msg='Creating source pool for %s' % system_filename, chatty=True)
source_pool = self.app.create_source_pool(
- self.lrc, self.rrc, (repo, ref, system_filename))
+ self.lrc, self.rrc, repo, ref, system_filename)
self.app.status(
msg='Resolving artifacts for %s' % system_filename, chatty=True)