summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornilshah982019-06-24 13:08:56 +0530
committernilshah982019-06-24 13:14:52 +0530
commitcabc5063df1f1d02e801de838d316d05bd58e424 (patch)
tree4566f0ad3beaec2df40729ed7fcf1397bd3d0f79 /src
parent1d4ee6b6c1254657c497673838922e746f339eca (diff)
downloadeSim-cabc5063df1f1d02e801de838d316d05bd58e424.tar.gz
eSim-cabc5063df1f1d02e801de838d316d05bd58e424.tar.bz2
eSim-cabc5063df1f1d02e801de838d316d05bd58e424.zip
Resolves #91
Diffstat (limited to 'src')
-rw-r--r--src/modelEditor/ModelEditor.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py
index 1dce456e..f72a3bf2 100644
--- a/src/modelEditor/ModelEditor.py
+++ b/src/modelEditor/ModelEditor.py
@@ -492,10 +492,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -513,10 +513,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -534,10 +534,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -555,10 +555,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -576,10 +576,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -597,10 +597,10 @@ class ModelEditorclass(QtGui.QWidget):
self.modelname +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- txtfile.write('+ ' + tags + '=' + text + '\n')
- txtfile.write(')')
+ txtfile.write(' ' + tags + '=' + text)
+ txtfile.write(' )')
tree.write(self.modelname + ".xml")
self.obj_appconfig.print_info(
'New ' +
@@ -645,10 +645,10 @@ class ModelEditorclass(QtGui.QWidget):
self.ref_model +
' ' +
self.model_name +
- '(\n')
+ '(')
for tags, text in list(self.modeldict.items()):
- libfile.write('+ ' + tags + '=' + text + '\n')
- libfile.write(')')
+ libfile.write(' ' + tags + '=' + text)
+ libfile.write(' )')
libfile.close()
root = ET.Element("library")