summaryrefslogtreecommitdiff
path: root/www/zope/patches/patch-ab
blob: fb482e9de31e349b6bab35e96e0b9971f1ac791d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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