CiscoTestAutomation / ncdiff

NETCONF Diff Engine
Apache License 2.0
24 stars 5 forks source link

Setting timeout causes an exception #11

Closed wouterdb closed 3 years ago

wouterdb commented 3 years ago

When passing a timeout, the following happens

  for arg in supported_args:
            if arg in kwargs:
>               setattr(self, kwarg, kwargs[arg])
E               NameError: name 'kwarg' is not defined

/lib64/python3.8/site-packages/ncdiff/manager.py:104: NameError

This is looks like a typo, I will produce a patch.

Wouter

yuekyang commented 3 years ago

Thank you!