Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

python3 strings are Unicode already, so no need to .decode() for python3#515

Open
gf-mse wants to merge 1 commit intoceph:master from
gf-mse:py3-fix-disk-list-command
Open

python3 strings are Unicode already, so no need to .decode() for python3 #515
gf-mse wants to merge 1 commit intoceph:master from
gf-mse:py3-fix-disk-list-command

Conversation

@gf-mse
Copy link

@gf-mse gf-mse commented Mar 13, 2023

Using duck typing to decide -- if there is a .decode() method, then we assume python2 and apply it; doing nothing otherwise

// using duck typing to decide -- if there is a .decode() method, then we assume python2 and apply it; doing nothing otherwise
Copy link
Collaborator

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /