summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2025-01-21 11:18:44 +0530
committerSunil Shetye2025-01-21 11:18:44 +0530
commit73c1756c7ca4e30b2c19d9dd63ee573352b828f6 (patch)
treef3384b09198c85e1863c8c5d49540b779fb4991a
parent437889822c49798cdf32d12a8c6fc0267a9d317e (diff)
downloadCommon-Interface-Project-73c1756c7ca4e30b2c19d9dd63ee573352b828f6.tar.gz
Common-Interface-Project-73c1756c7ca4e30b2c19d9dd63ee573352b828f6.tar.bz2
Common-Interface-Project-73c1756c7ca4e30b2c19d9dd63ee573352b828f6.zip
fix import line
-rwxr-xr-xblocks/Xcos/MxGraphParser.py8
-rwxr-xr-xblocks/Xcos/XmlParser.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/blocks/Xcos/MxGraphParser.py b/blocks/Xcos/MxGraphParser.py
index 59429ad1..0b2e3783 100755
--- a/blocks/Xcos/MxGraphParser.py
+++ b/blocks/Xcos/MxGraphParser.py
@@ -11,10 +11,10 @@ import defusedxml.ElementTree as goodET
from xcosblocks import SplitBlock
from xcosblocks import num2str, style_to_object
from xcosblocks import *
-from ParseFunctions import addPort1ForSplit, addPort2ForSplit, addPort3ForSplit
-from ParseFunctions import createOutnode, checkModelTag, checkRootTag
-from ParseFunctions import getComponentGeometry, get_int, getLinkStyle, getNextAttribId, getOrdering, getorderingname, getParameters, getPinGeometry, getSplitPoints, getWaypoints
-from ParseFunctions import identify_segment, remove_hyphen_number
+from ParserFunctions import addPort1ForSplit, addPort2ForSplit, addPort3ForSplit
+from ParserFunctions import createOutnode, checkModelTag, checkRootTag
+from ParserFunctions import getComponentGeometry, get_int, getLinkStyle, getNextAttribId, getOrdering, getorderingname, getParameters, getPinGeometry, getSplitPoints, getWaypoints
+from ParserFunctions import identify_segment, remove_hyphen_number
if len(sys.argv) != 2:
print("Usage: %s filename.xml" % sys.argv[0])
diff --git a/blocks/Xcos/XmlParser.py b/blocks/Xcos/XmlParser.py
index 546d6eba..017321dc 100755
--- a/blocks/Xcos/XmlParser.py
+++ b/blocks/Xcos/XmlParser.py
@@ -10,10 +10,10 @@ import defusedxml.ElementTree as goodET
import uuid
from xcosblocks import num2str, style_to_object
-from ParseFunctions import addtolinklist
-from ParseFunctions import create_mxCell, create_mxCell_edge, create_mxCell_port, checkModelTag, check_point_on_array, checkRootTag
-from ParseFunctions import getComponentGeometry, getlinkdetails, getLinkStyle, getNextAttribId, getPinGeometry, getSplitPoints, getWaypoints
-from ParseFunctions import identify_segment, initLinks, mergeLinks, portType1, portType2, portType3, remove_hyphen_number
+from ParserFunctions import addtolinklist
+from ParserFunctions import create_mxCell, create_mxCell_edge, create_mxCell_port, checkModelTag, check_point_on_array, checkRootTag
+from ParserFunctions import getComponentGeometry, getlinkdetails, getLinkStyle, getNextAttribId, getPinGeometry, getSplitPoints, getWaypoints
+from ParserFunctions import identify_segment, initLinks, mergeLinks, portType1, portType2, portType3, remove_hyphen_number
if len(sys.argv) != 2: