13 lines
388 B
Text
13 lines
388 B
Text
$NetBSD: patch-ab,v 1.2 2000/11/17 14:36:46 wiz Exp $
|
|
|
|
--- lib/python/AccessControl/SecurityManagement.py.orig Fri Nov 17 15:33:58 2000
|
|
+++ lib/python/AccessControl/SecurityManagement.py
|
|
@@ -90,5 +90,7 @@
|
|
|
|
import SpecialUsers
|
|
-from thread import get_ident
|
|
+try: import thread
|
|
+except: get_ident=lambda: 0
|
|
+else: get_ident=thread.get_ident
|
|
from SecurityManager import SecurityManager
|
|
|