Part: Remove XML binding files.
This PR removes the Part XML API bindings files now that we have equivalent Python binding files.
This commit is contained in:
committed by
Benjamin Nauck
parent
6083315b04
commit
faabc3d7d6
@@ -37,7 +37,13 @@ def compareFiles(file1, file2):
|
||||
class TemplateClassPyExport(template.ModelTemplate):
|
||||
# TODO: This is temporary, once all XML files are migrated, this can be removed.
|
||||
def getPath(self, path):
|
||||
if self.is_python and not self.export.ModuleName in ["Base", "App", "Gui", "PartDesign"]:
|
||||
if self.is_python and not self.export.ModuleName in [
|
||||
"Base",
|
||||
"App",
|
||||
"Gui",
|
||||
"Part",
|
||||
"PartDesign",
|
||||
]:
|
||||
root, ext = os.path.splitext(path)
|
||||
return f"{root}_{ext}"
|
||||
return path
|
||||
|
||||
Reference in New Issue
Block a user