remove osmodumpdoc.py and osmotestconfig.py from py3 install

Install these scripts as py2 only.

These scripts were added to py3 in error by commit "Improve python3
compatibility", I80e5850a8978d78cda793e2192ef4bd3fd54a121, which only addresses
print() compatibility but not encoding.

Recent patch Ief11b75acc973dc7aeaac9c2298a21dc5390efe4 removes osmotestvty.py
from py3 installation. osmodumpdoc.py and osmotestconfig.py are still py2 for
the same reasons and are also likely to fail when run as python3.

Related: OS#2821
Change-Id: Ibf8fc488ae2c022f75f0ca63483d80ed701e8c40
This commit is contained in:
Neels Hofmeyr 2018-01-09 12:43:41 +01:00
parent 99f1c4714c
commit f949f8a5a0
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@ if sys.version_info.major == 2:
scripts = ["scripts/osmodumpdoc.py", "scripts/osmotestconfig.py",
"scripts/osmotestvty.py"]
elif sys.version_info.major == 3:
scripts = ["scripts/osmodumpdoc.py",
"scripts/osmotestconfig.py",
"scripts/osmo_interact_vty.py",
scripts = ["scripts/osmo_interact_vty.py",
"scripts/osmo_interact_ctrl.py",
"scripts/osmo_ctrl.py",
"scripts/soap.py",