Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 6081:5f275158cfa9
there is no thread module in Python 3 any more, so need to check for threading
instead
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Thu, 06 Feb 2020 19:03:00 +0000 |
| parents | d5c51d1ef09c |
| children | e7cb0147e6fe |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Wed Feb 05 19:43:57 2020 +0000 +++ b/roundup/scripts/roundup_server.py Thu Feb 06 19:03:00 2020 +0000 @@ -95,7 +95,7 @@ # "debug" means "none" + no tracker/template cache MULTIPROCESS_TYPES = ["debug", "none"] try: - import thread # nosrc: F401 + import threading # nosrc: F401 except ImportError: pass else:
