diff 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
line wrap: on
line diff
--- a/jabberbot/i18n.py	Mon Sep 17 14:03:37 2012 +0200
+++ b/jabberbot/i18n.py	Wed Sep 19 11:29:46 2012 +0200
@@ -54,11 +54,11 @@
         translations =  wiki.getBotTranslations()
         return translations
     except xmlrpclib.Fault, fault:
-        log.error("XML RPC fault occured while getting translations: %s" % (str(fault), ))
+        log.error("XML RPC fault occurred while getting translations: %s" % (str(fault), ))
     except xmlrpclib.Error, error:
-        log.error("XML RPC error occured while getting translations: %s" % (str(error), ))
+        log.error("XML RPC error occurred while getting translations: %s" % (str(error), ))
     except Exception, exc:
-        log.error("Unexpected exception occured while getting translations: %s" % (str(exc), ))
+        log.error("Unexpected exception occurred while getting translations: %s" % (str(exc), ))
 
     log.error("Translations could not be downloaded, is wiki is accesible?")
     return None