mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
checkpatch: Fix typo for use as filter.
ovs_checkpatch_parse() takes 2 arguments, not sys.exit(). Oops.
Fixes: 95bd35d3db
("checkpatch: Implement -f option more usefully.")
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
@@ -458,5 +458,5 @@ if __name__ == '__main__':
|
||||
if sys.stdin.isatty():
|
||||
usage()
|
||||
sys.exit(-1)
|
||||
sys.exit(ovs_checkpatch_parse(sys.stdin.read()), '-')
|
||||
sys.exit(ovs_checkpatch_parse(sys.stdin.read(), '-'))
|
||||
sys.exit(ovs_checkpatch_file(filename))
|
||||
|
Reference in New Issue
Block a user