]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix the bug of "Spelling error of a word"
authorJuPing <jup.fnst@cn.fujitsu.com>
Mon, 12 Oct 2015 09:21:08 +0000 (17:21 +0800)
committerJuPing <jup.fnst@cn.fujitsu.com>
Mon, 12 Oct 2015 09:21:08 +0000 (17:21 +0800)
The word "occured" should be spelled as "occurred".
So it is changed.

Change-Id: Ice5212dc8565edb0c5b5c55f979b27440eeeb9aa
Closes-Bug: #1505043

neutron/pecan_wsgi/hooks/translation.py

index 78b2cba54ccdfab34b2bf69de538f64bc88df3ad..d3c5f15fb3c844f595a08a72096b4cd2ecf6eb00 100644 (file)
@@ -35,4 +35,4 @@ class ExceptionTranslationHook(hooks.PecanHook):
         # hide message from user in case it contained sensitive details
         LOG.exception(_("An unexpected exception was caught: %s") % e)
         raise webob.exc.HTTPInternalServerError(
-            _("An unexpected internal error occured."))
+            _("An unexpected internal error occurred."))