Skip to content

Commit 5905876

Browse files
committed
Added a workaround for a thread import lock problem (http://bugs.python.org/issue7980).
- Legacy-Id: 10940
1 parent 847e03b commit 5905876

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
@@ -16,6 +16,10 @@
1616
time.strptime('1984', '%Y') # this will happen lazily when changelog calls tzparse later, otherwise
1717

1818

19+
# workaround for thread import lock problem, http://bugs.python.org/issue7980
20+
import time
21+
time.strptime('1984', '%Y')
22+
1923
def trac_links(text):
2024
# changeset links
2125
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)