Python 3.6 deprecate invalid escape sequences
upgrading to 4.8 I see:
32458 140693456590144 [2018-04-24 15:31:02,016] WARNING py.warnings /opt/trytond/trytond/ir/model.py:1321: DeprecationWarning: invalid escape sequence \l
label += '\l'
In reading the code, this is to load pydot and the escape sequence to be presented is probably supposed to be "\L"
(https://www.graphviz.org/doc/info/attrs.html#k:escString)
I believe the line should read:
label += '\\l' # left justify
in order to be properly escaped (as the leading '\n' is at line 1311)
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
Graph-l.png | @risto42 | 2018-05-05 16:08:08.226000 UTC | image/png |