Ignore:
Timestamp:
09/02/13 16:00:52 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
61343737613239313761666438333631313338386633336662343864393931656337643731396463
Message:

Support other interesting keys, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/yamlish.py

    r136 r137  
    6565        output = []
    6666        for k, v in sorted(data.iteritems()):
    67             output.append('%s%s:' % (' ' * indent, k))
     67            output.append('%s%s:' % (' ' * indent, self._dump_inline(k)))
    6868            if self._inlineable(v):
    6969                output[-1] += ' ' + self._dump_inline(v)
Note: See TracChangeset for help on using the changeset viewer.