Show More
@@ -69,6 +69,13 b' except ImportError:' | |||||
69 | from xml.dom import minidom |
|
69 | from xml.dom import minidom | |
70 | import unittest |
|
70 | import unittest | |
71 |
|
71 | |||
|
72 | if os.environ.get('RTUNICODEPEDANTRY', False): | |||
|
73 | try: | |||
|
74 | reload(sys) | |||
|
75 | sys.setdefaultencoding("undefined") | |||
|
76 | except NameError: | |||
|
77 | pass | |||
|
78 | ||||
72 | osenvironb = getattr(os, 'environb', os.environ) |
|
79 | osenvironb = getattr(os, 'environb', os.environ) | |
73 | processlock = threading.Lock() |
|
80 | processlock = threading.Lock() | |
74 |
|
81 |
General Comments 0
You need to be logged in to leave comments.
Login now