def _parse_date(self, name, content):
        import datetime

        units = ('year', 'month', 'day', 'hour', 'minute', 'second', )
        pattern = XmlPropertyListParser.DATETIME_PATTERN
        match = pattern.match(content)
        if not match:
            raise PropertyListParseError("Failed to parse datetime '%s'" % content)

        groups, components = match.groupdict(), []
        for key in units:
            value = groups[key]
            if value is None:
                break
            components.append(int(value))
        while 3 < len(components):
            components.append(1)

        d = datetime.datetime(*components)
        self._push_value(d)
dataset/ETHPy150Open SublimeText/PackageDev/fileconv/plist_parser.py/XmlPropertyListParser._parse_date/swapped operands of `<`