Changeset 1467 in tailor


Ignore:
Timestamp:
03/20/08 23:53:09 (5 years ago)
Author:
Miklos Vajna <vmiklos@…>
Hash name:
20080320225309-8c5d4-55109d454f36a0e1380606489f85c6034100794c
Message:

DarcsXMLChangesHandler.startElement: fix a typo

bool(attributesinverted?) will give true for "True" and "False" as
well, so that's incorrect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository/darcs/source.py

    r1465 r1467  
    190190                self.current['hash'] = attributes['hash'] 
    191191                self.current['entries'] = [] 
    192                 self.inverted = bool(attributes['inverted']) 
     192                self.inverted = (attributes['inverted'] == "True") 
    193193            elif name in ['name', 'comment', 'add_file', 'add_directory', 
    194194                          'modify_file', 'remove_file', 'remove_directory']: 
Note: See TracChangeset for help on using the changeset viewer.