summaryrefslogtreecommitdiff
path: root/rtemstoolkit/mailer.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-11-28 20:27:50 +1100
committerChris Johns <chrisj@rtems.org>2018-11-28 20:27:50 +1100
commit571db94df5ac63db42a50058357f30c435e27cc0 (patch)
tree5d6376ab4a6de2d00ab0cc05756b96a503567f0f /rtemstoolkit/mailer.py
parent97dc555efa44a6d5ae48d5a3f7cf2f08d5ed7e0c (diff)
rtemstoolkit: Fix mailer unittest.
Diffstat (limited to 'rtemstoolkit/mailer.py')
-rw-r--r--rtemstoolkit/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py
index ee4d3a4..241ee1c 100644
--- a/rtemstoolkit/mailer.py
+++ b/rtemstoolkit/mailer.py
@@ -63,7 +63,7 @@ class mail:
self.opts = opts
def _args_are_macros(self):
- return type(self.opts) is 'command_line'
+ return isinstance(self.opts, options.command_line)
def _get_arg(self, arg):
if self._args_are_macros():