From c40575e4e046904d5dbd28826bf5308915093f15 Mon Sep 17 00:00:00 2001 From: OpenStack Proposal Bot Date: Fri, 4 Nov 2016 14:08:31 +0000 Subject: Add bash scripts style checking for IPA Updated file tox.ini allows to check code style in all ".sh" files included in Ironic Python Agent. Checking can be invoked by calling either "tox" or "tox -e pep8". Change-Id: Ie76605737c7db10a064f2aebfda388372a4c0591 Closes-Bug: #1625215 --- ironic_python_agent/shell/write_image.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ironic_python_agent/shell') diff --git a/ironic_python_agent/shell/write_image.sh b/ironic_python_agent/shell/write_image.sh index 3f07e07a..11abb9fc 100755 --- a/ironic_python_agent/shell/write_image.sh +++ b/ironic_python_agent/shell/write_image.sh @@ -17,14 +17,14 @@ set -e log() { - echo "`basename $0`: $@" + echo "`basename $0`: $@" } usage() { - [[ -z "$1" ]] || echo -e "USAGE ERROR: $@\n" - echo "`basename $0`: IMAGEFILE DEVICE" - echo " - This script images DEVICE with IMAGEFILE" - exit 1 + [[ -z "$1" ]] || echo -e "USAGE ERROR: $@\n" + echo "`basename $0`: IMAGEFILE DEVICE" + echo " - This script images DEVICE with IMAGEFILE" + exit 1 } IMAGEFILE="$1" -- cgit v1.2.1