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

View File

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