def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def setUp(self):
        self.oFile = vhdlFile.vhdlFile(lFile)
        self.assertIsNone(eError)
        self.oFile.set_indent_map(dIndentMap)