summaryrefslogtreecommitdiff
path: root/utilities/checkpatch.py
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-03-31 08:45:54 -0700
committerBen Pfaff <blp@ovn.org>2016-03-31 08:46:09 -0700
commita5e9c53ce4539dac32036ea3ba3b916bcbf560e0 (patch)
tree2e152f747f66a3cb0166a796e7dfaad9f8cc881c /utilities/checkpatch.py
parent10b3f50546835c121ff19c319f492980a86cc822 (diff)
downloadopenvswitch-a5e9c53ce4539dac32036ea3ba3b916bcbf560e0.tar.gz
checkpatch: Fix Python style violation.
I introduced this when updating the script before commit. My fault, sorry. Fixes: c599d5ccf31 (checkpatch.py: A simple script for finding patch issues) Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'utilities/checkpatch.py')
-rwxr-xr-xutilities/checkpatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 5301c6b8e..d9011f370 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -185,6 +185,7 @@ def usage():
print("-t|--skip-trailing-whitespace\t"
"Skips the trailing whitespace test")
+
def ovs_checkpatch_file(filename):
try:
mail = email.message_from_file(open(filename, 'r'))