1 Commits

Author SHA1 Message Date
Thomas Ward
165c866a5d Multiple changes, cleanup, etc.
- Missing .gitignore.  Add it.
 - Missing requirements.txt, required.  Added.
 - lugito.py:
   - Missing http.client, `import http` isn't enough for that.  Import
     it.
   - Spaces around concatenation `+` and such. Spaces between defs.
     PEP8 style.
   - Simplify `if` and logicals.  Simplify loops.
   - Stop using deprecated commands per deprecation warnings.
   - Don't shadow other higher-up inherited variables such as 'hash'.
   - Declare variables that are 'always' referred to, to avoid problems.
   - Use regex instead of re, per Python 3 API recommendations to use
     'regex' instead of 're'.
2018-11-03 14:59:22 -05:00