diff options
author | James Ennis <james.ennis@codethink.com> | 2018-02-14 17:02:00 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-03-14 14:10:26 +0000 |
commit | 81833add3730eb3f8b489e9f5cc34df7617373fc (patch) | |
tree | 8072db8db7bff7befedf6fa09de506d7e0ba3fd3 /buildstream/_context.py | |
parent | 0394d67d26035234553c506539b1bd790cddec1d (diff) | |
download | buildstream-81833add3730eb3f8b489e9f5cc34df7617373fc.tar.gz |
pylint - dealt with superfluous-parens warning
Diffstat (limited to 'buildstream/_context.py')
-rw-r--r-- | buildstream/_context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py index d93aa749f..2db13cf98 100644 --- a/buildstream/_context.py +++ b/buildstream/_context.py @@ -308,7 +308,7 @@ class Context(): self._message_depth.appendleft(silent_nested) def _pop_message_depth(self): - assert(self._message_depth) + assert self._message_depth self._message_depth.popleft() def _silent_messages(self): @@ -334,7 +334,7 @@ class Context(): # Send it off to the log handler (can be the frontend, # or it can be the child task which will log and propagate # to the frontend) - assert(self._message_handler) + assert self._message_handler self._message_handler(message, context=self) return |