summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/ModelicaUI.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-25 15:24:11 +0530
committerSunil Shetye2019-06-25 15:55:41 +0530
commit713e764817b7bf8c3bb4911c238f07780f3a0532 (patch)
treee7e236553cd964c2b83dc61ac2df69cafba0ca2f /src/ngspicetoModelica/ModelicaUI.py
parent32acf14bfbfa5d5874ebfdbf88ef64777f05e3f8 (diff)
downloadeSim-713e764817b7bf8c3bb4911c238f07780f3a0532.tar.gz
eSim-713e764817b7bf8c3bb4911c238f07780f3a0532.tar.bz2
eSim-713e764817b7bf8c3bb4911c238f07780f3a0532.zip
pep8: break long lines
Diffstat (limited to 'src/ngspicetoModelica/ModelicaUI.py')
-rw-r--r--src/ngspicetoModelica/ModelicaUI.py23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py
index 80d43445..eca03534 100644
--- a/src/ngspicetoModelica/ModelicaUI.py
+++ b/src/ngspicetoModelica/ModelicaUI.py
@@ -107,17 +107,18 @@ class OpenModelicaEditor(QtGui.QWidget):
else:
self.msg = QtGui.QMessageBox()
- self.msgContent = "There was an error while opening OMEdit.<br/>\
- Please make sure OpenModelica is installed in your \
- system. <br/>\
- To install it on Linux : Go to <a href= \
- https://www.openmodelica.org/download/download-linux> \
- OpenModelica Linux</a> \
- and install nigthly build release.<br/> \
- To install it on Windows : Go to <a href= \
- https://www.openmodelica.org/download/download-windows>\
- OpenModelica Windows</a> and install latest version. \
- <br/>"
+ self.msgContent = (
+ "There was an error while opening OMEdit.<br/>"
+ "Please make sure OpenModelica is installed in your"
+ " system.<br/>"
+ "To install it on Linux : Go to <a href="
+ "https://www.openmodelica.org/download/download-linux"
+ ">OpenModelica Linux</a> and install nightly build"
+ " release.<br/>"
+ "To install it on Windows : Go to <a href="
+ "https://www.openmodelica.org/download/download-windows"
+ ">OpenModelica Windows</a> and install latest version.<br/>"
+ )
self.msg.setTextFormat(QtCore.Qt.RichText)
self.msg.setText(self.msgContent)
self.msg.setWindowTitle("Missing OpenModelica")