Updated code quality print space, removed not required backslash & indentation changes in tr.py

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-20 22:21:28 +05:30
parent 6e785b61c3
commit fb3de9936c
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -43,11 +43,11 @@ def translateText(context, text, n=None):
try: try:
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
except Exception as err: except Exception as err:
print ('PyBitmessage requires PyQt unless you want to run it as a daemon'\ print('PyBitmessage requires PyQt unless you want to run it as a daemon'
' and interact with it using the API.'\ ' and interact with it using the API.'
' You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download'\ ' You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download'
' or by searching Google for \'PyQt Download\'.'\ ' or by searching Google for \'PyQt Download\'.'
' If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon') ' If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon')
print('Error message:', err) print('Error message:', err)
os._exit(0) # pylint: disable=protected-access os._exit(0) # pylint: disable=protected-access
if n is None: if n is None: