Skip to content

Commit

Permalink
network: resolve collections.ABC deprecation warning
Browse files Browse the repository at this point in the history
Resolve python warning:
```
DeprecationWarning: Using or importing the ABCs from 'collections'
instead of from 'collections.abc' is deprecated since Python 3.3,
and in 3.10 it will stop working.
```

Change-Id: I5ead39425a4a7f203bf3dd0a53ea5b813eacc2bb
Signed-off-by: Eitan Raviv <eraviv@redhat.com>
  • Loading branch information
erav committed Jan 5, 2022
1 parent d2c464d commit 0b131fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-suite-master/ovirtlib/syncutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def re_run(exec_func, exec_func_args, count, interval):


def _parse_args(exec_func_args):
if isinstance(exec_func_args, collections.Mapping):
if isinstance(exec_func_args, collections.abc.Mapping):
kwargs = exec_func_args
args = ()
else:
Expand Down

0 comments on commit 0b131fe

Please sign in to comment.