def read_borders(parent, dest, XPath, get): name = 'tblBorders' if parent.tag.endswith('}tblPr') else 'tcBorders' read_border(parent, dest, XPath, get, border_edges, name)
def read_borders(parent, dest, XPath, get): name = "tblBorders" if parent.tag.endswith("}tblPr") else "tcBorders" read_border(parent, dest, XPath, get, border_edges, name)