The "SyntaxWarning" is complaining about the incorrectly escaped string
literal. Backslash followed by a bracket char, i.e. "\(", is not a
valid to python string literal escape sequence.
It was the regular expression library needed to escape the bracket char.
To do it correctly, change line#171 from
translation = re.sub('\(..\)', '', translation, flags=re.DOTALL)
to
translation = re.sub('\\(..\\)', '', translation, flags=re.DOTALL)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056595
Title:
Lot of SyntaxWarning messages for rhythmbox
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/2056595/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs