Skip to content

Comments

Fix overwriting ssh config bug#17

Open
EasonLiao wants to merge 4 commits intoLinkedInAttic:masterfrom
EasonLiao:yisheng/fix_shellscript_handler
Open

Fix overwriting ssh config bug#17
EasonLiao wants to merge 4 commits intoLinkedInAttic:masterfrom
EasonLiao:yisheng/fix_shellscript_handler

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