From 63692cd5718c991fb070fddb835e8b782849a5e5 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Wed, 9 Mar 2011 16:46:18 +0000 Subject: [PATCH] Remove translation of internal error in VCard export/import svn: r16792 --- src/plugins/export/ExportVCard.py | 4 ++-- src/plugins/import/ImportVCard.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/export/ExportVCard.py b/src/plugins/export/ExportVCard.py index b06f5b09d..70cf88a60 100644 --- a/src/plugins/export/ExportVCard.py +++ b/src/plugins/export/ExportVCard.py @@ -121,8 +121,8 @@ class VCardWriter(object): elif type(data) == type(()): return tuple(map(VCardWriter.esc, data)) else: - raise TypeError(_("VCard escaping is not implemented for " - "data type %s.") % str(type(data))) + raise TypeError("VCard escaping is not implemented for " + "data type %s." % str(type(data))) def __init__(self, database, filename, option_box=None, callback=None): self.db = database diff --git a/src/plugins/import/ImportVCard.py b/src/plugins/import/ImportVCard.py index bdbb213d7..e681e7df1 100644 --- a/src/plugins/import/ImportVCard.py +++ b/src/plugins/import/ImportVCard.py @@ -182,8 +182,8 @@ class VCardParser(object): elif type(data) == type([]): return list(map(VCardParser.unesc, data)) else: - raise TypeError(_("VCard unescaping is not implemented for " - "data type %s.") % str(type(data))) + raise TypeError("VCard unescaping is not implemented for " + "data type %s." % str(type(data))) @staticmethod def count_escapes(strng):