Skip to content

Keyword argument to .splitlines() not supported in py 2.7 #3113

Closed
@wtriplett

Description

@wtriplett

When creating this crashfile, the results file corresponding
to the node could not be found.""".splitlines(
keepends=True
)
except Exception as exc:
traceback += """
During the creation of this crashfile triggered by the above exception,
another exception occurred:\n\n{}.""".format(
exc
).splitlines(
keepends=True
)
else:

Removing the explicit keyword reference should produce the expected behavior on both py2 and 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions