Skip to content

Commit c23fe86

Browse files
committed
Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10942
1 parent 64f5473 commit c23fe86

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/release/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
import time
2525
time.strptime('1984', '%Y')
2626

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

0 commit comments

Comments
 (0)