Summary: | app-portage/repoman-2.3.1: with python3.6, running repoman on dev-db/sqlite triggers DeprecationWarning: invalid escape sequence '\[' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Repoman | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 611324 |
Description
Zac Medico
![]() This seems to work: def has_line_continuation(line): m = re.search(r'(\\)*$', line) return False if m is None else operator.sub(*m.span()) % 2 == 1 Patch posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/76e505fb48f3b764c6335e145cc8af66 https://github.com/gentoo/portage/pull/123 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=3e82d2e09f124f3b77d1b913c945b93341ee4053 Released in repoman-2.3.2 |