summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/plugins/graphing_plugin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/plugins/graphing_plugin.py b/morphlib/plugins/graphing_plugin.py
index b57a3f3e..57166e51 100644
--- a/morphlib/plugins/graphing_plugin.py
+++ b/morphlib/plugins/graphing_plugin.py
@@ -65,9 +65,8 @@ class GraphingPlugin(cliapp.Plugin):
'%(repo_name)s %(ref)s %(filename)s',
repo_name=repo_name, ref=ref, filename=filename)
builder = morphlib.buildcommand.BuildCommand(self.app)
- srcpool = build_command.create_source_pool(repo_name, ref,
- filename)
- root_artifact = build_command.resolve_artifacts(srcpool)
+ srcpool = builder.create_source_pool(repo_name, ref, filename)
+ root_artifact = builder.resolve_artifacts(srcpool)
basename, ext = os.path.splitext(filename)
dot_filename = basename + '.gv'