Add ICU version string to exception form.

This commit is contained in:
M2j 2013-04-02 22:52:31 +02:00
parent 9612a52211
commit 2598674d2a
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@ except ImportError:
MAKO_VERSION = u'-'
try:
import icu
ICU_VERSION = u'OK'
try:
ICU_VERSION = icu.VERSION
except AttributeError:
ICU_VERSION = u'OK'
except ImportError:
ICU_VERSION = u'-'
try: