From c454606ada3990f174536a4dcb361620efb76d0f Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Mon, 10 Dec 2012 12:24:07 -0600 Subject: i18n raise Exception messages Provide i18n to some exceptions that were not provided before. Change-Id: Ia320ba5f12e82686c8ee7973a77f152eb4b02bd4 Signed-off-by: Chuck Short --- tools/db/schema_diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/db/schema_diff.py b/tools/db/schema_diff.py index 873f20543..a4bcfeaa8 100755 --- a/tools/db/schema_diff.py +++ b/tools/db/schema_diff.py @@ -107,7 +107,7 @@ def _get_db_driver_class(db_type): elif db_type == "postgres": return Postgres else: - raise Exception("database %s not supported" % db_type) + raise Exception(_("database %s not supported") % db_type) ### Migrate -- cgit