Retab was needed for edits to work with files: payload/msda.py, tests/utils/classes.py.
Change shebang python versions from 2 to 3.
Update tests by appending to sys.path instead of using the deprecated 'imp' module to import payload/msda.py.
Change pip -> pip3 in .github/workflows/test.yml.
payload/msda.py:
Replace readPlist and writePlist function calls with load and dump respectively.
Convert from_dict['LSHandlerPreferredVersions'].keys() to list before indexing.
Use 'with' to handle subprocess termination and decode the output to string.
Working as expected with test command:
msda set "com.ranchero.NetNewsWire-Evergreen" -p feed
Resolves #15, resolves #13, resolves #11.
Retab was needed for edits to work with files: payload/msda.py, tests/utils/classes.py. Change shebang python versions from 2 to 3. Update tests by appending to sys.path instead of using the deprecated 'imp' module to import payload/msda.py. Change pip -> pip3 in .github/workflows/test.yml.
payload/msda.py:
Working as expected with test command: