From 8d809fd1bc799e23f2ea885d8b58355cb26afc8f Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 28 Jul 2014 14:04:07 +0100 Subject: Fix list-artifacts post chunks-in-definitions 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. --- morphlib/plugins/list_artifacts_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1