Ignore:
Timestamp:
08/29/09 20:04:52 (5 years ago)
Author:
xi
Message:

Fixed sorting of dict.keys() generator.

File:
1 edited

Legend:

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

    r355 r359  
    580580        handle = None 
    581581        suffix = tag 
    582         prefixes = self.tag_prefixes.keys() 
    583         prefixes.sort() 
     582        prefixes = sorted(self.tag_prefixes.keys()) 
    584583        for prefix in prefixes: 
    585584            if tag.startswith(prefix)   \ 
Note: See TracChangeset for help on using the changeset viewer.