Changes between Initial Version and Version 2 of Ticket #15193


Ignore:
Timestamp:
Jan 29, 2011, 11:35:48 PM (14 years ago)
Author:
Russell Keith-Magee
Comment:

Marking invalid -- report doesn't give any indication of *why* the proposed change is required, other than apparent abiility of the reporter to generate a stack trace.

In order for a bug report to be useful, you need to give us the ability to reproduce a problem. That means a complete set of instructions that would allow someone else to reproduce the problem.

If you care to provide such instructions, please repoen this ticket with those details.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15193

    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #15193 – Description

    initial v2  
     1{{{
    12Traceback:
    23Problem installing fixture 'data\init.yaml': Traceback (most recent call last):
     
    1112    Model = _get_model(d["model"])
    1213TypeError: string indices must be integers, not str
     14}}}
    1315
    1416I made the following change to pyyaml.py and it fixed the problem:
     
    2224    else:
    2325        stream = stream_or_string
    24     for obj in PythonDeserializer('''[yaml.load(stream),]''', **options):
     26    for obj in PythonDeserializer(yaml.load(stream), **options):
    2527        yield obj
    2628}}}
Back to Top