Commit 94585853 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix inconsistent mix of tabs and spaces that caused test to fail.

parent 62e1210e
...@@ -17,18 +17,17 @@ for loc in candidate_locales: ...@@ -17,18 +17,17 @@ for loc in candidate_locales:
try: try:
setlocale(LC_NUMERIC, loc) setlocale(LC_NUMERIC, loc)
except Error: except Error:
continue continue
if verbose: if verbose:
print "locale %r" % loc print "locale %r" % loc
saw_locale = 1 saw_locale = 1
nl_radixchar = nl_langinfo(RADIXCHAR) nl_radixchar = nl_langinfo(RADIXCHAR)
li_radixchar = localeconv()['decimal_point'] li_radixchar = localeconv()['decimal_point']
if nl_radixchar != li_radixchar: if nl_radixchar != li_radixchar:
print "%r != %r" % (nl_radixchar, li_radixchar) print "%r != %r" % (nl_radixchar, li_radixchar)
nl_radixchar = nl_langinfo(THOUSEP) nl_radixchar = nl_langinfo(THOUSEP)
li_radixchar = localeconv()['thousands_sep'] li_radixchar = localeconv()['thousands_sep']
if nl_radixchar != li_radixchar: if nl_radixchar != li_radixchar:
print "%r != %r" % (nl_radixchar, li_radixchar) print "%r != %r" % (nl_radixchar, li_radixchar)
if not saw_locale: if not saw_locale:
raise ImportError, "None of the listed locales found" raise ImportError, "None of the listed locales found"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment