mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
- Pass maintainership to submitter PR: 224332 Submitted by: Shane <FreeBSD@ShaneWare.Biz>
15 lines
314 B
Python
15 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']
|