From 88f708abf5f6b02de3261eaa664e44c1a7ef3034 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 15 Nov 2018 15:17:58 +0000 Subject: [PATCH] target/descriptor: Update default sudo command format Due to changes introduced in devlib https://github.com/ARM-software/devlib/pull/339 the command placeholder should no longer be in quote so remove them from the default value. --- wa/framework/target/descriptor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wa/framework/target/descriptor.py b/wa/framework/target/descriptor.py index 4f6a338a..5b9e5160 100644 --- a/wa/framework/target/descriptor.py +++ b/wa/framework/target/descriptor.py @@ -345,9 +345,9 @@ CONNECTION_PARAMS = { """), Parameter( 'sudo_cmd', kind=str, - default="sudo -- sh -c '{}'", + default="sudo -- sh -c {}", description=""" - Sudo command to use. Must have ``"{}"`` specified + Sudo command to use. Must have ``{}`` specified somewhere in the string it indicate where the command to be run via sudo is to go. """),