Commit 9de61eb6 authored by Florent Guillaume's avatar Florent Guillaume

Minimize whitespace changes between Zope 2.8 branch and Zope 2 trunk.

parent 6880502f
......@@ -1045,7 +1045,7 @@ class UserFolder(BasicUserFolder):
def _doAddUser(self, name, password, roles, domains, **kw):
"""Create a new user"""
if password is not None and self.encrypt_passwords \
and not self._isPasswordEncrypted(password):
and not self._isPasswordEncrypted(password):
password = self._encryptPassword(password)
self.data[name]=User(name,password,roles,domains)
......
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