Skip to content

fixcc.py: update for python3

Dan Eble requested to merge dev/eble/fixcc-python3 into staging

This is the error I was getting:

$ ~/lilypond-src/scripts/auxiliar/fixcc.py ~/lilypond-src/flower/include/rational.hh
Traceback (most recent call last):
  File "/home/user/lilypond-src/scripts/auxiliar/fixcc.py", line 550, in <module>
    main ()
  File "/home/user/lilypond-src/scripts/auxiliar/fixcc.py", line 420, in main
    if not check_astyle_version():
  File "/home/user/lilypond-src/scripts/auxiliar/fixcc.py", line 409, in check_astyle_version
    return (PREFERRED_ASTYLE_VERSION in stderr) \
TypeError: a bytes-like object is required, not 'str'
Edited by Dan Eble

Merge request reports