comparison jabberbot/i18n.py @ 5887:b397401dda7f

fix typos, correct is: 'occurred'
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 19 Sep 2012 11:29:46 +0200
parents 6f06c7d051a4
children
comparison
equal deleted inserted replaced
5886:5dfb9a831d8d 5887:b397401dda7f
52 52
53 try: 53 try:
54 translations = wiki.getBotTranslations() 54 translations = wiki.getBotTranslations()
55 return translations 55 return translations
56 except xmlrpclib.Fault, fault: 56 except xmlrpclib.Fault, fault:
57 log.error("XML RPC fault occured while getting translations: %s" % (str(fault), )) 57 log.error("XML RPC fault occurred while getting translations: %s" % (str(fault), ))
58 except xmlrpclib.Error, error: 58 except xmlrpclib.Error, error:
59 log.error("XML RPC error occured while getting translations: %s" % (str(error), )) 59 log.error("XML RPC error occurred while getting translations: %s" % (str(error), ))
60 except Exception, exc: 60 except Exception, exc:
61 log.error("Unexpected exception occured while getting translations: %s" % (str(exc), )) 61 log.error("Unexpected exception occurred while getting translations: %s" % (str(exc), ))
62 62
63 log.error("Translations could not be downloaded, is wiki is accesible?") 63 log.error("Translations could not be downloaded, is wiki is accesible?")
64 return None 64 return None