From b71a670b91f3ff1273239b0a69b8511754d0e4e0 Mon Sep 17 00:00:00 2001 From: rebortg Date: Thu, 10 Dec 2020 08:19:03 +0100 Subject: linter: fix vyos-linter.py to run without args --- .github/vyos-linter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '.github/vyos-linter.py') 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": -- cgit v1.2.3