aboutsummaryrefslogtreecommitdiffstats
path: root/pylog
diff options
context:
space:
mode:
authorSINGAL, KAPIL (ks220y) <ks220y@att.com>2019-10-21 16:47:42 +0000
committerKAPIL SINGAL <ks220y@att.com>2020-01-01 17:52:35 +0000
commitea9bf6a31b205ea0681f70b74e0b79d03d09ff3f (patch)
tree194889a76872c1836fa75e5585dc9220d7706d9f /pylog
parentc527140c4c949851f035fb8f4c9c80779aa01bc2 (diff)
Changing delete command
-delete is causing exit 1 with error "No such file or directory." As it trying to delete files from ./.tox/* path. Adding -not -path "./.tox" to exclude path. Issue-ID: LOG-1173 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: Ic04d5c660e5c2ba81f3d2a2f6646bf65782a8a7a
Diffstat (limited to 'pylog')
-rw-r--r--pylog/tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylog/tox.ini b/pylog/tox.ini
index bf6b784..14ebfd0 100644
--- a/pylog/tox.ini
+++ b/pylog/tox.ini
@@ -14,7 +14,7 @@ deps = -r{toxinidir}/requirements.txt
setenv = PYTHONPATH={toxinidir}/
commands =
- /usr/bin/find . -type f -name "*.py[c|o]" -delete
+ /usr/bin/find . -type f -name "*.py[c|o]" -not -path "./.tox" -delete
py.test
[testenv:pep8]