equal
deleted
inserted
replaced
966 for index in list: |
966 for index in list: |
967 dictionary[index] = (mappingdictionary[index]["name"], mappingdictionary[index]["need"]) |
967 dictionary[index] = (mappingdictionary[index]["name"], mappingdictionary[index]["need"]) |
968 if self.CurrentNode.IsEntry(index): |
968 if self.CurrentNode.IsEntry(index): |
969 current.append(index) |
969 current.append(index) |
970 return dictionary, current |
970 return dictionary, current |
|
971 |
|
972 def GetCurrentNextMapIndex(self): |
|
973 if self.CurrentNode: |
|
974 index = 0x2000 |
|
975 while self.CurrentNode.IsEntry(index) and index < 0x5FFF: |
|
976 index += 1 |
|
977 if index < 0x6000: |
|
978 return index |
|
979 else: |
|
980 return None |
971 |
981 |
972 def CurrentDS302Defined(self): |
982 def CurrentDS302Defined(self): |
973 if self.CurrentNode: |
983 if self.CurrentNode: |
974 return len(self.CurrentNode.GetDS302Profile()) > 0 |
984 return len(self.CurrentNode.GetDS302Profile()) > 0 |
975 return False |
985 return False |