Skip to content

Commit 64f5473

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

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
# workaround for thread import lock problem, http://bugs.python.org/issue7980
2024
import time
2125
time.strptime('1984', '%Y')

0 commit comments

Comments
 (0)