Changeset 218 for pyyaml/trunk/lib
- Timestamp:
- 07/30/06 08:51:05 (6 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/lib/yaml/emitter.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/emitter.py
r197 r218 493 493 return '' 494 494 if self.event.style and self.event.style in '|>': 495 if not self.flow_level and self.analysis.allow_block: 495 if (not self.flow_level and not self.simple_key_context 496 and self.analysis.allow_block): 496 497 return self.event.style 497 498 if not self.event.style or self.event.style == '\'': … … 671 672 if index == 0: 672 673 # Leading indicators are special characters. 673 if ch in u'#,[]{} #&*!|>\'\"%@`':674 if ch in u'#,[]{}&*!|>\'\"%@`': 674 675 flow_indicators = True 675 676 block_indicators = True
