diff options
| author | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
| commit | e74c568b07b50b97873fb4ee1d776dedefbd54d6 (patch) | |
| tree | 3469f17ea9af91f7ff169b890633bda68b0cf76e /examples/python/gi | |
| parent | bfe522304da217296e2a61040f58e35ec5d6f3f2 (diff) | |
New upstream version 1.32.12 upstream/1.32.12
Diffstat (limited to 'examples/python/gi')
| -rwxr-xr-x | examples/python/gi/ovs-external-ids.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/python/gi/ovs-external-ids.py b/examples/python/gi/ovs-external-ids.py index 63f9695e..3bc9de8f 100755 --- a/examples/python/gi/ovs-external-ids.py +++ b/examples/python/gi/ovs-external-ids.py @@ -68,7 +68,7 @@ def can_sudo(): ).returncode == 0 ) - except: + except Exception: return False @@ -222,7 +222,6 @@ def die_usage(msg): def parse_args(argv): - had_dash_dash = False args = { "mode": MODE_GET, "select_arg": None, @@ -615,7 +614,9 @@ def do_apply(nmc, device, ids_arg, do_test): die("FAILURE to get applied connection after reapply") _print() - connection_print(connection, MODE_APPLY, [], device.get_path(), prefix="AFTER: ") + connection_print( + connection_after, MODE_APPLY, [], device.get_path(), prefix="AFTER: " + ) _print() ovs_print_external_ids("AFTER-OVS-VSCTL: ") |