Closed TinHead closed 8 years ago
I think that you change failed with py3.3
Aww yes did not test with 3.3 :/ will do.
This broke in python3 but in python2 i didn't get the expected behaviour. I was getting all users for any email address i searched.
Refactored this to work with python 3, support group search, and POSTs xml search payload per the Crowd API docs.
To get the same (expected) behaviour before and after refactor:
search_string = '@example.com'
# before changes
search(search_string)
# after changes
search('user', 'email', search_string)
Hi,
We needed to be able to search for users in order to get an user list, so I implemented it. If you think it is of use, here is the pull request.
Regards, Razvan Lixandru Devops Engineer Optaros