Skip to content

Ubuntu 24.04 noble warns about invalid escape sequence #33

@NeroBurner

Description

@NeroBurner

I think we need to escape the \. So basically instead of \ use \\

/home/nero/repos/aptly/python-aptly/aptly/publisher/__init__.py:179: SyntaxWarning: invalid escape sequence '\}'
  nodes_raw = re.findall('[ \t]+"([^"]+)".*label="{(Repo|Snapshot|Published) ([^|]+)[^\}"]+}"', dot_data)
/home/nero/repos/aptly/python-aptly/aptly/publisher/__init__.py:591: SyntaxWarning: invalid escape sequence '\ '
  parsed = re.match('(.*)\ (.*)\ (.*)\ (.*)', ref)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions