From 713e764817b7bf8c3bb4911c238f07780f3a0532 Mon Sep 17 00:00:00 2001
From: Sunil Shetye
Date: Tue, 25 Jun 2019 15:24:11 +0530
Subject: pep8: break long lines
---
src/ngspicetoModelica/ModelicaUI.py | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
(limited to 'src/ngspicetoModelica')
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.
\
- Please make sure OpenModelica is installed in your \
- system.
\
- To install it on Linux : Go to \
- OpenModelica Linux \
- and install nigthly build release.
\
- To install it on Windows : Go to \
- OpenModelica Windows and install latest version. \
-
"
+ self.msgContent = (
+ "There was an error while opening OMEdit.
"
+ "Please make sure OpenModelica is installed in your"
+ " system.
"
+ "To install it on Linux : Go to OpenModelica Linux and install nightly build"
+ " release.
"
+ "To install it on Windows : Go to OpenModelica Windows and install latest version.
"
+ )
self.msg.setTextFormat(QtCore.Qt.RichText)
self.msg.setText(self.msgContent)
self.msg.setWindowTitle("Missing OpenModelica")
--
cgit