def debug(self, message, text=u""): logging.debug(message + u"\t" + text ) if __debug__: if text == u'': text = u'This has been a test of the Central Scruuuuutinizer' Actions.make_post_text(self.altsub, message, text)
def testMakePostText(sub): # spawn a action print "Make Post:" post = a.make_post_text(sub, "testpost", "please ignore") print "Passed" if post else "Failed" return post
def info(self, message, text=u''): logging.info(message) if __debug__: if text == u'': text = u'This has been a test of the Central Scruuuuutinizer' Actions.make_post_text(self.altsub, message, text)