Commit 9aa59d41 authored by Rafael Monnerat's avatar Rafael Monnerat

Minor unimpotant changes

parent 645e1dc2
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
# Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved. # Copyright (c) 2012 Vifib SA and Contributors. All Rights Reserved.
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential # programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs # consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial # End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly adviced to contract a Free Software # garantees and support are strongly adviced to contract a Free Software
# Service Company # Service Company
# #
# This program is Free Software; you can redistribute it and/or # This program is Free Software; you can redistribute it and/or
...@@ -17,12 +17,12 @@ ...@@ -17,12 +17,12 @@
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# #
############################################################################## ##############################################################################
from functools import partial from functools import partial
...@@ -161,7 +161,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin): ...@@ -161,7 +161,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if isinstance(id, str): if isinstance(id, str):
id = (id, ) id = (id, )
# Short-cut "System Processes" as not being searchable by user_id. # Short-cut "System Processes" as not being searchable by user_id.
# This improves performance in proxy-role'd execution by avoiding an # This improves performance in proxy-role'd execution by avoiding an
# sql query expected to find no user. # sql query expected to find no user.
...@@ -198,7 +197,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin): ...@@ -198,7 +197,6 @@ class SlapOSShadowAuthenticationPlugin(BasePlugin):
if isinstance(login, str): if isinstance(login, str):
login = (login, ) login = (login, )
login_list = [] login_list = []
for user_login in login: for user_login in login:
if user_login in SPECIAL_USER_NAME_SET: if user_login in SPECIAL_USER_NAME_SET:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment