Fix linters issue E002 and E003 and linters check (none-voting)

E002 Tab indents
E003 Indent not multiple of 4

Story: 2003366
Task: 24424

Change-Id: Ie063ccfe346489f08c4752adaa344f5919db0378
Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
Sun Austin 2018-08-30 14:50:33 +08:00 committed by Austin Sun
parent 1fdf94bedb
commit 847cf1e92f
51 changed files with 988 additions and 986 deletions

View File

@ -4,3 +4,5 @@
jobs: jobs:
- openstack-tox-pep8: - openstack-tox-pep8:
voting: false voting: false
- openstack-tox-linters:
voting: false

View File

@ -19,9 +19,9 @@ CPULIST=0
# Include lsb functions # Include lsb functions
if [ -d /lib/lsb ]; then if [ -d /lib/lsb ]; then
. /lib/lsb/init-functions . /lib/lsb/init-functions
else else
. /etc/init.d/functions . /etc/init.d/functions
fi fi
# Lightweight replacement for pidofproc -p <pid> # Lightweight replacement for pidofproc -p <pid>
function check_pidfile () function check_pidfile ()