Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(12) | Call(12) | Derive(0) | Import(0)
Log an error
src/b/3/b3-1.9.2/b3/parsers/iourt41.py b3(Download)
self.warning(err) else: self.error("cannot fix players teams : %s" % err) for cid in plist.keys(): client = self.clients.getByCID(cid)
elif not client.id: # no client id, database must be down, do tempban self.error('Q3AParser.ban(): no client id, database must be down, doing tempban') return self.tempban(client, reason, '1d', admin, silent)
if not os.path.isfile(mapfile): self.debug('could not read mapcycle file at %s' % mapfile) self.error("Unable to find mapcycle file %s" % mapcycle) return None
src/b/i/big-brother-bot-HEAD/b3/parsers/iourt41.py big-brother-bot(Download)
self.warning(err) else: self.error("cannot fix players teams : %s" % err) for cid in plist.keys(): client = self.clients.getByCID(cid)
elif not client.id: # no client id, database must be down, do tempban self.error('Q3AParser.ban(): no client id, database must be down, doing tempban') return self.tempban(client, reason, '1d', admin, silent)
if not os.path.isfile(mapfile): self.debug('could not read mapcycle file at %s' % mapfile) self.error("Unable to find mapcycle file %s" % mapcycle) return None
src/b/3/b3-1.9.2/b3/parsers/oa081.py b3(Download)
elif not client.id: # no client id, database must be down, do tempban self.error('Q3AParser.ban(): no client id, database must be down, doing tempban') return self.tempban(client, reason, '1d', admin, silent)
src/b/i/big-brother-bot-HEAD/b3/parsers/oa081.py big-brother-bot(Download)
elif not client.id: # no client id, database must be down, do tempban self.error('Q3AParser.ban(): no client id, database must be down, doing tempban') return self.tempban(client, reason, '1d', admin, silent)
src/b/3/b3-1.9.2/b3/parsers/sof2.py b3(Download)
return None except: self.error('Parser could not connect client') return None
src/b/i/big-brother-bot-HEAD/b3/parsers/sof2.py big-brother-bot(Download)
return None except: self.error('Parser could not connect client') return None
src/b/3/b3-1.9.2/b3/parsers/wop.py b3(Download)
return None except: self.error('Parser could not connect client') return None
src/b/i/big-brother-bot-HEAD/b3/parsers/wop.py big-brother-bot(Download)
return None except: self.error('Parser could not connect client') return None