Commit graph

9 commits

Author SHA1 Message Date
0c1bf23961 Remove the encode() in core 2016-05-18 00:14:47 -04:00
Jeff Ammons
ef76bd58d2 Adding initial test for rtmbot and hopefully coveralls 2016-05-11 15:03:15 -07:00
Jeff Ammons
84db35fa6f Improve debug state handling and error messaging
If debug=True:
- Most plugin methods (if not all) should end the script and report the
  error to std.out
If debug=False:
- Plugin methods will log the error, data, and stack trace

Future planning:
- The debug=False case here has better behavior in my opinion, maybe
  there's a better way of handling debug=True
2016-04-24 12:40:37 -07:00
Jeff Ammons
c7582a7098 Conform all self.debug values to False
I really want to remove this dbg() mess.
2016-04-17 18:42:54 -07:00
Jeff Ammons
e1d4816e55 Remove unused global site_config 2016-04-17 18:29:17 -07:00
Jeff Ammons
f12a90ab0a Fix missing debug context in Job 2016-04-17 17:34:17 -07:00
Jeff Ammons
4c7fa8b9ae Merge branch 'master' of https://github.com/tzakrajs/python-rtmbot into tzakrajs-master
Also fixes some PEP8 issues and a number of small bugs.
2016-04-17 16:41:39 -07:00
Thomas Zakrajsek
bfe7df401a fixed regression, now self.debug exists in Plugin class context 2015-08-02 19:08:29 -04:00
Thomas Zakrajsek
45e9f7780c refactored main into start_rtmbot.py, refactored so that RtmBot class is more self sufficient and can be imported and used more easily, removed unused objects from main 2015-08-02 18:29:11 -04:00