mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
c889c66fce
- Pass maintainership to submitter PR: 224332 Submitted by: Shane <FreeBSD@ShaneWare.Biz>
16 lines
314 B
Python
16 lines
314 B
Python
--- flup/server/ajp_base.py.orig 2017-12-16 07:40:39 UTC
|
|
+++ flup/server/ajp_base.py
|
|
@@ -38,7 +38,11 @@ import datetime
|
|
import time
|
|
|
|
# Unfortunately, for now, threads are required.
|
|
-import thread
|
|
+try:
|
|
+ import thread
|
|
+except:
|
|
+ import _thread as thread
|
|
+
|
|
import threading
|
|
|
|
__all__ = ['BaseAJPServer']
|