[ovs-dev] [PATCH] ovs-tcpdump: Fix E117 over-indented.

Ilya Maximets i.maximets at samsung.com
Mon Apr 29 14:10:51 UTC 2019


utilities/ovs-tcpdump.in:376:9: E117 over-indented
make[2]: *** [flake8-check] Error 1

CC: Liu Chang <txfh2007 at aliyun.com>
Fixes: 2eeadf73d931 ("ovs-tcpdump: Improve error message when tcpdump is not available.")
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
---
 utilities/ovs-tcpdump.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utilities/ovs-tcpdump.in b/utilities/ovs-tcpdump.in
index 7f675e141..11624c54b 100755
--- a/utilities/ovs-tcpdump.in
+++ b/utilities/ovs-tcpdump.in
@@ -373,8 +373,8 @@ def argv_tuples(lst):
 
 
 def py_which(executable):
-        return any(os.access(os.path.join(path, executable), os.X_OK)
-                for path in os.environ["PATH"].split(os.pathsep))
+    return any(os.access(os.path.join(path, executable), os.X_OK)
+               for path in os.environ["PATH"].split(os.pathsep))
 
 
 def main():
-- 
2.17.1



More information about the dev mailing list