Message 78221

Author
ced
Date
2022-09-19.15:58:31
Message id
78221

Content

In many modules, we use in searcher method: nested = clause[0].lstrip(name)
This gives the right result but it is not error prone because we could have letters arranged in different order.
So I think it is better to use this pattern: nested = clause[0][len(name):]

History
Date User Action Args
2022-09-19 15:58:32cedsetmessageid: <1663595912.118066.ZGQVM6KCWS6IXCP2.issue11714@tryton.org>
2022-09-19 15:58:32cedlinkissue11714 messages
2022-09-19 15:58:31cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)