summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-01-06 12:02:38 -0500
committerScott Moser <smoser@ubuntu.com>2015-01-06 12:02:38 -0500
commit38c851e58e09c5574661ef4b2d2e66f6e38063d1 (patch)
treed136c739ba324802e90b7afede5429254e519475 /tools
parentfa5ce8c40621c78e61c7d9bd073903101f7d6a5e (diff)
downloadvyos-cloud-init-38c851e58e09c5574661ef4b2d2e66f6e38063d1.tar.gz
vyos-cloud-init-38c851e58e09c5574661ef4b2d2e66f6e38063d1.zip
tools/run-pep8: remove leading ',' fed to --ignore
--ignore was being called with ',E121,E...' rather than 'E121,E...'. that resulted in odd behavior, missing the pep8 errors that are fixed here.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-pep81
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-pep8 b/tools/run-pep8
index d0a131f6..ccd6be5a 100755
--- a/tools/run-pep8
+++ b/tools/run-pep8
@@ -24,6 +24,7 @@ IGNORE="$IGNORE,E126" # Continuation line over-indented for hanging indent
IGNORE="$IGNORE,E127" # Continuation line over-indented for visual indent
IGNORE="$IGNORE,E128" # Continuation line under-indented for visual indent
IGNORE="$IGNORE,E502" # The backslash is redundant between brackets
+IGNORE="${IGNORE#,}" # remove the leading ',' added above
cmd=(
${base}/hacking.py