pylint cleanup: replace disable-msg with disable

Adapt to upstream format change.

Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
This commit is contained in:
Sascha Silbe
2010-10-15 19:20:26 +00:00
parent 7acfbd070f
commit eacce98f88
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ def _close_fds():
for i in xrange(3, MAXFD):
try:
os.close(i)
# pylint: disable-msg=W0704
# pylint: disable=W0704
except Exception:
pass
@@ -284,7 +284,7 @@ class ActivityCreationHandler(gobject.GObject):
self._handle.activity_id, self._service_name)
def _create_error_handler(self, err):
logging.error('Couldn't create activity %s (%s): %s',
logging.error("Couldn't create activity %s (%s): %s",
self._handle.activity_id, self._service_name, err)
self._shell.NotifyLaunchFailure(
self._handle.activity_id, reply_handler=self._no_reply_handler,