2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

checkpatch: Fix Python style violation.

I introduced this when updating the script before commit.  My fault, sorry.

Fixes: c599d5ccf3 (checkpatch.py: A simple script for finding patch issues)
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Ben Pfaff
2016-03-31 08:45:54 -07:00
parent 10b3f50546
commit a5e9c53ce4

View File

@@ -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'))