summaryrefslogtreecommitdiff
path: root/docutils/tools/quicktest.py
diff options
context:
space:
mode:
authororutherfurd <orutherfurd@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-03-28 15:39:27 +0000
committerorutherfurd <orutherfurd@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-03-28 15:39:27 +0000
commitf41b35e1a5fe843f9ec456a0144ddafd2baa9b7b (patch)
treeddffe4ce7136122d06bc40947788a6fb94c96d3b /docutils/tools/quicktest.py
parent7d330a49a1dc6700dfcd19965122dcf1cef769f9 (diff)
downloaddocutils-f41b35e1a5fe843f9ec456a0144ddafd2baa9b7b.tar.gz
moved locale imports into try blocks, for Jython compatibility
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1896 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/tools/quicktest.py')
-rwxr-xr-xdocutils/tools/quicktest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/tools/quicktest.py b/docutils/tools/quicktest.py
index 04e3209fa..0cdff9549 100755
--- a/docutils/tools/quicktest.py
+++ b/docutils/tools/quicktest.py
@@ -8,8 +8,8 @@
# Date: $Date$
# Copyright: This module has been placed in the public domain.
-import locale
try:
+ import locale
locale.setlocale(locale.LC_ALL, '')
except:
pass