summaryrefslogtreecommitdiff
path: root/src/createKicadLibrary.py
diff options
context:
space:
mode:
authorrahulp132020-12-16 00:44:00 +0530
committerrahulp132020-12-16 00:44:00 +0530
commitaf4fe5b34e291cfe3bb1dadb967a8a049bf9ee64 (patch)
tree30a2601e5a1f4b39fe03b830c3853431dbfe685e /src/createKicadLibrary.py
parent0029b5d209d0187f29ba774ab3ef0f3ff04a3215 (diff)
downloadnghdl-af4fe5b34e291cfe3bb1dadb967a8a049bf9ee64.tar.gz
nghdl-af4fe5b34e291cfe3bb1dadb967a8a049bf9ee64.tar.bz2
nghdl-af4fe5b34e291cfe3bb1dadb967a8a049bf9ee64.zip
flake8 compliant
Diffstat (limited to 'src/createKicadLibrary.py')
-rw-r--r--src/createKicadLibrary.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py
index e98d0d0..eed8f6d 100644
--- a/src/createKicadLibrary.py
+++ b/src/createKicadLibrary.py
@@ -36,8 +36,8 @@ class AutoSchematic(QtWidgets.QWidget):
elif (xmlFound == os.path.join(self.xml_loc, 'Nghdl')):
print('Library already exists...')
ret = QtWidgets.QMessageBox.warning(
- self.parent, "Warning", '''<b>Library files for this model ''' +
- '''already exist. Do you want to overwrite it?</b><br/>
+ self.parent, "Warning", '''<b>Library files for this model''' +
+ ''' already exist. Do you want to overwrite it?</b><br/>
If yes press ok, else cancel it and ''' +
'''change the name of your vhdl file.''',
QtWidgets.QMessageBox.Ok, QtWidgets.QMessageBox.Cancel
@@ -54,9 +54,9 @@ class AutoSchematic(QtWidgets.QWidget):
else:
print('Pre existing library...')
ret = QtWidgets.QMessageBox.critical(
- self.parent, "Error", '''<b>A standard library already exists ''' +
- '''with this name.</b><br/><b>Please change the name ''' +
- '''of your vhdl file and upload it again</b>''',
+ self.parent, "Error", '''<b>A standard library already ''' +
+ '''exists with this name.</b><br/><b>Please change the ''' +
+ '''name of your vhdl file and upload it again</b>''',
QtWidgets.QMessageBox.Ok
)