Changes between Initial Version and Version 2 of Ticket #15193
- Timestamp:
- Jan 29, 2011, 11:35:48 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15193
- Property Resolution → invalid
- Property Status new → closed
-
Ticket #15193 – Description
initial v2 1 {{{ 1 2 Traceback: 2 3 Problem installing fixture 'data\init.yaml': Traceback (most recent call last): … … 11 12 Model = _get_model(d["model"]) 12 13 TypeError: string indices must be integers, not str 14 }}} 13 15 14 16 I made the following change to pyyaml.py and it fixed the problem: … … 22 24 else: 23 25 stream = stream_or_string 24 for obj in PythonDeserializer( '''[yaml.load(stream),]''', **options):26 for obj in PythonDeserializer(yaml.load(stream), **options): 25 27 yield obj 26 28 }}}