Open Bug 1257347 Opened 8 years ago Updated 2 years ago

PositiveOptionValue doesn't serialize to JSON properly for config.status

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

Details

When I was working on bug 1257104, I hit an interesting JSON serialization failure, which can be reduced to this:

>>> print json.dumps({'FOO': PositiveOptionValue()}, indent=4)
{
    "FOO": 
    ]
}

This only happens with indent set:
>>> print json.dumps({'FOO': PositiveOptionValue()})
{"FOO": []}
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.