Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Aug 24, 2018
1 parent c8eee15 commit 0d7a369
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions spyder/utils/environ.py
Expand Up @@ -43,16 +43,22 @@ class RemoteEnvDialog(CollectionsEditor):
def __init__(self, environ, parent=None):
super(RemoteEnvDialog, self).__init__(parent)
try:
self.setup(envdict2listdict(environ),
title=_("Environment variables"),
width=700,
readonly=True,
icon=ima.icon('environ'))
self.setup(
envdict2listdict(environ),
title=_("Environment variables"),
width=700,
readonly=True,
icon=ima.icon('environ')
)
except Exception as e:
QMessageBox.warning(parent, _("Warning"),
_("An error occurred while trying to show your "
"environment variables. The error was<br><br>"
"<tt>{0}</tt>").format(e), QMessageBox.Ok)
QMessageBox.warning(
parent,
_("Warning"),
_("An error occurred while trying to show your "
"environment variables. The error was<br><br>"
"<tt>{0}</tt>").format(e),
QMessageBox.Ok
)


class EnvDialog(RemoteEnvDialog):
Expand Down

0 comments on commit 0d7a369

Please sign in to comment.