Closed sshuguan closed 4 years ago
what version of the package are you using - we are not seeing this issue.
$ pip list | grep ixnetwork ixnetwork-restpy 1.0.46 The problem occurs on Linux rather than Windows.
still unable to reproduce.
Reinstall the package and the "inconsistent indention" is gone. Looks like someone fixed it already. But sample scripts still need "dos2unix" conversion on Linux. here is how to reproduce:
version 1.0.47 will have normalized \n endings for all files in the package.
After install ixnetwork_restpy on Linux (pip install -U --no-cache-dir ixnetwork_restpy) 1) those sample scripts under site-package/ixnetwork_restpy/samples/ have to be converted with "dos2unix". Otherwise they are not runnable by itself. 2) python complains about inconsistent indention at line,
from ixnetwork_restpy.errors import * File "/usr/local/lib/python3.7/site-packages/ixnetwork_restpy/errors.py", line 27 self._message = message ^ TabError: inconsistent use of tabs and spaces in indentation