Fixed some bugs found by PyChecker
Fixed some bugs found by PyChecker

raboof/supybot,jeffmahoney/supybot,Ban3/Limnoria,Ban3/Limnoria,mazaclub/mazabot-core,kblin/supybot-gsoc,prashantpawar/supybot-rothbot,buildbot/supybot,ProgVal/Limnoria-test,mazaclub/mazabot-core,haxwithaxe/supybot,frumiousbandersnatch/supybot-code,ProgVal/Limnoria-test