summaryrefslogtreecommitdiff
path: root/morphlib/plugins
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-23 12:57:20 +0000
committerMorph (on behalf of Adam Coldrick) <adam.coldrick@codethink.co.uk>2015-03-23 12:57:20 +0000
commit76a5a2adf7ff5822dae7f9e0ebbc403f6b424387 (patch)
tree79079e5c6845aadb05a96d265820e41ebb8e7153 /morphlib/plugins
parent36bb158ae3bde7df8faba25c19032e477e8fd527 (diff)
downloadmorph-76a5a2adf7ff5822dae7f9e0ebbc403f6b424387.tar.gz
Morph build 81aaa7d1f9b043b58194b7babe2b4f84
System branch: master
Diffstat (limited to 'morphlib/plugins')
-rw-r--r--morphlib/plugins/deploy_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py
index 22f3bef5..5fd883a3 100644
--- a/morphlib/plugins/deploy_plugin.py
+++ b/morphlib/plugins/deploy_plugin.py
@@ -448,7 +448,7 @@ class DeployPlugin(cliapp.Plugin):
def _validate_partial_deployment(self, deployment_type,
artifact, component_names):
supported_types = ('tarball', 'sysroot')
- if system['type'] not in supported_types:
+ if deployment_type not in supported_types:
raise cliapp.AppException('Not deploying %(name)s, --partial was '
'set and partial deployment only '
'supports %(types)s deployments.',