Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).

- Legacy-Id: 10942
This commit is contained in:
Henrik Levkowetz 2016-03-16 14:10:13 +00:00
parent 64f5473499
commit c23fe867e1

View file

@ -24,6 +24,10 @@ time.strptime('1984', '%Y')
import time
time.strptime('1984', '%Y')
# workaround for thread import lock problem, http://bugs.python.org/issue7980
import time
time.strptime('1984', '%Y')
def trac_links(text):
# changeset links
text = re.sub(r'\[(\d+)\]', r'<a href="https://wiki.tools.ietf.org/tools/ietfdb/changeset/\1">[\1]</a>', text)