Skip to content

Incorrect duplicated key exception #242

@Pchelolo

Description

@Pchelolo

After updating to 3.5 version I've started to receive an incorrect exception while using safeLoad on this file: https://github.com/wikimedia/restbase/blob/master/sys/post_data.yaml

The exception is: YAMLException: duplicated mapping key at line 24, column 1:\n \n ^\n at generateError

Seems like empty lines are considered as mapping keys now, which is clearly incorrect.

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