sockeye44/instavpn — pull request #22 by b1naryth1ef (2014-12-10 02:00:37+00:00)
Title: Heavily refactor install procedure/scripts

I took a shot at a pretty heavy refactor of the install scripts/procedure to both clean them up from a readability standpoint, and attempt to make them more "pythonic". The big ticket items that I changed:

- Pastee logging is now factored out into a proper LogHandler, and thusly the normal python logging is used everywhere. This has benefits for people that want to improve or even utilize current code.
- Boilerplate around subprocess calls reduced with a single abstracted function
- No longer tracking web credentials in the repo (this could be fixed by having the install script generate the json directly to the install directory/path)
- Various other PEP8 compliance things, mostly minor