Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overwriting ssh config bug #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

EasonLiao
Copy link

This is the fix to #16 (default parameters in the constructor of ShellScriptHandler overwrote the configs that users specified in the config file)

The parameters of ShellScriptHandler are never passed to the constructor of it, so I fixed it by getting rid of these parameters and get everything from config file. This implies we need to set every config parameter in config file, which seems fine to me.

@sarathsreedharan
Copy link
Contributor

One comment would be to add initialization for all the config variables before reading the config as it is recommended by pep8. Also can you include the unittest results for the changes

@EasonLiao
Copy link
Author

Sorry for the delay! I had problems running the unit tests and I'll start looking into it again soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants