[ovs-git] [openvswitch/ovs] 117637: python: Fix reporting that test-ovsdb.py command n...

GitHub noreply at github.com
Wed Apr 18 18:08:57 UTC 2018

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 117637b7a5dd5992c39d767e84e5a2994cb0f8de
  Author: Jakub Sitnicki <jkbs at redhat.com>
  Date:   2018-04-18 (Wed, 18 Apr 2018)

  Changed paths:
    M tests/test-ovsdb.py

  Log Message:
  python: Fix reporting that test-ovsdb.py command needs more args

In Python OVSDB tester, we are not unpacking a value from n_args tuple
that holds the accepted range of arguments. This causes an error:

  $ python tests/test-ovsdb.py idl tests/idltest.schema
  Traceback (most recent call last):
    File "./tests/test-ovsdb.py", line 869, in <module>
    File "./tests/test-ovsdb.py", line 852, in main
      n_args, len(args)))
  TypeError: %d format: a number is required, not tuple

Signed-off-by: Jakub Sitnicki <jkbs at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>

More information about the git mailing list