Skip to content

Commit

Permalink
flake8 and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cewing committed Oct 6, 2013
1 parent 1efe57b commit ebc1e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Changes
- Fix api.content.copy without target parameter.
[rodfersou]

- Ammed user.get method to accept a userid parameter.
- Amend user.get method to accept a userid parameter.

NOTE: this change fixes a bug in the earlier implementation that could cause
errors in some situations. This situation will only arise if the userid and
Expand Down
2 changes: 1 addition & 1 deletion src/plone/api/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get(userid=None, username=None):
userid) and a username, which is the value a user types into the login
form. In many cases, the values for each will be the same, but under some
circumstances they will differ. Known instances of this behavior include:
* using content-based members via membrane
* users changing their email address when using email as login is enabled
Expand Down

0 comments on commit ebc1e59

Please sign in to comment.