diff options
author | Sunil Shetye | 2019-06-24 16:14:56 +0530 |
---|---|---|
committer | GitHub | 2019-06-24 16:14:56 +0530 |
commit | c4a8ca5dd789d0f6f80df6d130a52e3fa3e3d4f9 (patch) | |
tree | 28635d392fea869223bf25fb2e3340432f1724b1 /src | |
parent | ca314c04845c832aa6ab7585510e29e6c3ca9221 (diff) | |
parent | 25c2c25c3db4c053cabd9be859051337dce5c369 (diff) | |
download | eSim-c4a8ca5dd789d0f6f80df6d130a52e3fa3e3d4f9.tar.gz eSim-c4a8ca5dd789d0f6f80df6d130a52e3fa3e3d4f9.tar.bz2 eSim-c4a8ca5dd789d0f6f80df6d130a52e3fa3e3d4f9.zip |
Merge pull request #95 from nilshah98/issue91
Resolves #91
Diffstat (limited to 'src')
-rw-r--r-- | src/modelEditor/ModelEditor.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py index 3bfdcfac..9378ae25 100644 --- a/src/modelEditor/ModelEditor.py +++ b/src/modelEditor/ModelEditor.py @@ -484,10 +484,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -505,10 +505,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -526,10 +526,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -547,10 +547,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -568,10 +568,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -589,10 +589,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(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -637,10 +637,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(' )\n') libfile.close() root = ET.Element("library") |