Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
f17718be
Commit
f17718be
authored
Jul 10, 2003
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor code cleanup and speedup in getUsers()
parent
6d1a19df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
lib/python/AccessControl/User.py
lib/python/AccessControl/User.py
+2
-6
No files found.
lib/python/AccessControl/User.py
View file @
f17718be
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
##############################################################################
##############################################################################
"""Access control package"""
"""Access control package"""
__version__
=
'$Revision: 1.17
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.17
8
$'
[
11
:
-
2
]
import
Globals
,
socket
,
SpecialUsers
,
re
import
Globals
,
socket
,
SpecialUsers
,
re
import
os
import
os
...
@@ -1020,11 +1020,7 @@ class UserFolder(BasicUserFolder):
...
@@ -1020,11 +1020,7 @@ class UserFolder(BasicUserFolder):
data
=
self
.
data
data
=
self
.
data
names
=
data
.
keys
()
names
=
data
.
keys
()
names
.
sort
()
names
.
sort
()
users
=
[]
return
[
data
[
n
]
for
n
in
names
]
f
=
users
.
append
for
n
in
names
:
f
(
data
[
n
])
return
users
def
getUser
(
self
,
name
):
def
getUser
(
self
,
name
):
"""Return the named user object or None"""
"""Return the named user object or None"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment