summaryrefslogtreecommitdiff
path: root/examples/disco_browser.py
AgeCommit message (Collapse)Author
2015-07-09Fix UnboundlocalError in disco_browser.py exampleelya5
If self.get is in self.info_types and self.items_types, only self['xep_0030'].get_info is executed and not self['xep_0030'].get_items. So the condition in line 129 is successful but items is not assigned.
2012-10-24added setdefaultencoding method so reload(sys) not neededPaul Molodowitch
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-08-07Fix disco browser example to handle errors.Lance Stout
2012-05-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Remove unused imports in the examples.Rodolfo Carvalho
2011-12-30Update examples to use the block'' argument instead of the deprecated ↵Rodolfo Carvalho
threaded''.
2011-12-30Replace pydns with dnspython in the comments of the examples.Rodolfo Carvalho
2011-08-18Update examples to work with Python3 (raw_input vs input)Lance Stout
2011-03-23Tidy up the examples.Lance Stout
2010-12-16Added the disco browser as an example.Lance Stout