Skip to content

bugfix: PythonConsole plugin: Print command output's repr() instead of str()

Robbie Cooper requested to merge cooperra/rhythmbox:patch-1 into master

This is how the original python console behaves. Using repr disambiguates output for certain types, such as str.

Example before this commit: input is str, but output looks like bool:

>>> 'True'
True

Example after this commit:

>>> 'True'
'True'

Merge request reports