Skip to content

Use name as sort key to fix Python 3 TypeError #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 24, 2015

Conversation

cdbennett
Copy link

Sort types explicitly by name to fix unorderable types TypeError in
Python 3.

The call to sort() on cli.py line 259 produced the error:

TypeError: unorderable types: type() < type()

Sort types explicitly by name to fix unorderable types TypeError in
Python 3.

The call to sort() on cli.py line 259 produced the error:

    TypeError: unorderable types: type() < type()
gpocentek pushed a commit that referenced this pull request Dec 24, 2015
Use name as sort key to fix Python 3 TypeError
@gpocentek gpocentek merged commit 6f1fd7e into python-gitlab:master Dec 24, 2015
@gpocentek
Copy link
Contributor

Thanks!

@cdbennett cdbennett deleted the fix_python3_sort_types branch December 30, 2015 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants