eric7/E5XML/TasksReader.py

branch
eric7
changeset 8318
962bce857696
parent 8312
800c432b34c8
equal deleted inserted replaced
8316:0c7a44af84bc 8318:962bce857696
104 uid = self.attribute("uid", "") 104 uid = self.attribute("uid", "")
105 if uid: 105 if uid:
106 task["uid"] = uid 106 task["uid"] = uid
107 else: 107 else:
108 # upgrade from pre 6.0 format 108 # upgrade from pre 6.0 format
109 from PyQt5.QtCore import QUuid 109 from PyQt6.QtCore import QUuid
110 task["uid"] = QUuid.createUuid().toString() 110 task["uid"] = QUuid.createUuid().toString()
111 parentUid = self.attribute("parent_uid", "") 111 parentUid = self.attribute("parent_uid", "")
112 expanded = self.toBool(self.attribute("expanded", "True")) 112 expanded = self.toBool(self.attribute("expanded", "True"))
113 113
114 while not self.atEnd(): 114 while not self.atEnd():

eric ide

mercurial