def METHOD_NAME(self):
    print("Saving changes, supposedly")
    print("Replacing %s with %s" % (self.coverzipname, self.newcoverfile))
    if self.has_cover():
        self.book.replace_file(self.coverzipname, self.newcoverfile)
    else:
        XXX
        metadata = self.book.dom.getElementsByTagName("metadata")[0]
        manifest = self.book.dom.getElementsByTagName("manifest")[0]
    self.book.METHOD_NAME()
    self.book.close()