Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10942
This commit is contained in:
parent
64f5473499
commit
c23fe867e1
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue