Minor code improvements and consistent naming of XML functions

This commit is contained in:
Veronica K. B. Olsen
2020-09-17 14:05:51 +02:00
parent 27ee82aad0
commit 904bdd9001
3 changed files with 13 additions and 15 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ class NWStatus():
self.theCounts[theIndex] += 1
return
def packEntries(self, xParent):
def packXML(self, xParent):
"""Pack the status entries into an XML object for saving to the
main project file.
"""
@@ -128,7 +128,7 @@ class NWStatus():
xSub.text = self.theLabels[n]
return True
def unpackEntries(self, xParent):
def unpackXML(self, xParent):
"""Unpack an XML tree and set the class values.
"""
theLabels = []