summaryrefslogtreecommitdiff
path: root/.github/vyos-linter.py
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2020-12-10 08:19:03 +0100
committerrebortg <github@ghlr.de>2020-12-10 08:19:03 +0100
commitb71a670b91f3ff1273239b0a69b8511754d0e4e0 (patch)
treebff2f184df6c910135d9cf180c9dc2eee9d69008 /.github/vyos-linter.py
parentb89c2bbc8827a2cef8c7465a6edb973a58675b79 (diff)
downloadvyos-documentation-b71a670b91f3ff1273239b0a69b8511754d0e4e0.tar.gz
vyos-documentation-b71a670b91f3ff1273239b0a69b8511754d0e4e0.zip
linter: fix vyos-linter.py to run without args
Diffstat (limited to '.github/vyos-linter.py')
-rw-r--r--.github/vyos-linter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/vyos-linter.py b/.github/vyos-linter.py
index 05bb6bbb..69a1c8e7 100644
--- a/.github/vyos-linter.py
+++ b/.github/vyos-linter.py
@@ -147,8 +147,7 @@ def main():
if handle_file_action(file) is False:
bool_error = False
except Exception as e:
- print(e)
- for root, dirs, files in os.walk("../docs"):
+ for root, dirs, files in os.walk("docs"):
path = root.split(os.sep)
for file in files:
if file[-4:] == ".rst":