diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-07-16 15:07:42 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-07-31 17:05:47 +0000 |
commit | a5d9c4a0e725d0ba3894c6506e642f99301af7ef (patch) | |
tree | 8aad812c7bacac872b073862e82d88b281abfa25 /morphlib/plugins | |
parent | 9a9445c47f25d919483a6e798e789dbf32e9310f (diff) | |
download | morph-a5d9c4a0e725d0ba3894c6506e642f99301af7ef.tar.gz |
Use sanitise_morphology_path in serialise_artifact
Diffstat (limited to 'morphlib/plugins')
-rw-r--r-- | morphlib/plugins/distbuild_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/distbuild_plugin.py b/morphlib/plugins/distbuild_plugin.py index c60dee6e..50ab7eeb 100644 --- a/morphlib/plugins/distbuild_plugin.py +++ b/morphlib/plugins/distbuild_plugin.py @@ -59,7 +59,7 @@ class SerialiseArtifactPlugin(cliapp.Plugin): raise cliapp.AppException('Must get triplet') repo_name, ref, morph_name = args - filename = '%s.morph' % morph_name + filename = morphlib.util.sanitise_morphology_path(morph_name) build_command = morphlib.buildcommand.BuildCommand(self.app) srcpool = build_command.create_source_pool(repo_name, ref, filename) artifact = build_command.resolve_artifacts(srcpool) |