From 1f86712613a67074af745a5c4f28715311a66066 Mon Sep 17 00:00:00 2001 From: Trevor McCasland Date: Mon, 5 Dec 2016 09:03:27 -0600 Subject: Add i18n translation to guestagent 2/5 This is patch 2 of 5 that adds i18n translation to the guestagent directory Custom hacking rules will be added later to enforce this style. Change-Id: I56972d16634654b8b71853d6aba10299cc9e2418 --- trove/guestagent/guest_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/guestagent/guest_log.py b/trove/guestagent/guest_log.py index 26170c4b..82c532b6 100644 --- a/trove/guestagent/guest_log.py +++ b/trove/guestagent/guest_log.py @@ -266,7 +266,7 @@ class GuestLog(object): LogStatus.Published, LogStatus.Enabled) # We've already handled this case (log rotated) so what gives? else: - raise ("Bug in _log_rotated ?") + raise Exception(_("Bug in _log_rotated ?")) else: self._published_size = 0 self._size = 0 -- cgit v1.2.1