Ignore:
Timestamp:
12/29/08 13:11:08 (5 years ago)
Author:
xi
Message:

Fixed the remaining Python 3 compatibility issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib3/yaml/emitter.py

    r328 r329  
    181181            self.tag_prefixes = self.DEFAULT_TAG_PREFIXES.copy() 
    182182            if self.event.tags: 
    183                 handles = self.event.tags.keys() 
    184                 handles.sort() 
     183                handles = sorted(self.event.tags.keys()) 
    185184                for handle in handles: 
    186185                    prefix = self.event.tags[handle] 
Note: See TracChangeset for help on using the changeset viewer.