From 2871b5e078f65472ea9a00259050d2a67e88e2a9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 5 Dec 2015 14:47:20 +0800 Subject: [PATCH] gui: typos --- artiq/gui/experiments.py | 4 ++-- artiq/gui/explorer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/artiq/gui/experiments.py b/artiq/gui/experiments.py index 867026ba2..580c8896e 100644 --- a/artiq/gui/experiments.py +++ b/artiq/gui/experiments.py @@ -304,7 +304,7 @@ class _ExperimentDock(dockarea.Dock): except: # May happen when experiment has been removed # from repository/explist - logger.warning("failed to request termination of instances of %s", + logger.warning("failed to submit '%s'", self.expname, exc_info=True) def reqterm_clicked(self): @@ -313,7 +313,7 @@ class _ExperimentDock(dockarea.Dock): except: # May happen when experiment has been removed # from repository/explist - logger.warning("failed to request termination of instances of %s", + logger.warning("failed to request termination of instances of '%s'", self.expname, exc_info=True) def save_state(self): diff --git a/artiq/gui/explorer.py b/artiq/gui/explorer.py index 3c6e07891..f6ef8050e 100644 --- a/artiq/gui/explorer.py +++ b/artiq/gui/explorer.py @@ -48,7 +48,7 @@ class ExplorerDock(dockarea.Dock): submit = QtGui.QPushButton("Submit") submit.setIcon(QtGui.QApplication.style().standardIcon( - QtGui.QStyle.SP_DialogOkButton)) + QtGui.QStyle.SP_DialogOkButton)) submit.setToolTip("Schedule the selected experiment (Ctrl+Return)") self.addWidget(submit, 1, 1) submit.clicked.connect(self.submit_clicked)