summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit
diff options
context:
space:
mode:
authorAlex White <alex.white@oarcorp.com>2021-10-28 14:58:37 -0500
committerJoel Sherrill <joel@rtems.org>2021-10-29 16:44:02 -0500
commitba4648bf683fb4acb521f8933b34b80cb4f67cbd (patch)
treedb30e120956581d1f6e2e66f21fc06f3d096b87c /rtemstoolkit
parentTraceConverter.cc: Add catch for exception (diff)
downloadrtems-tools-ba4648bf683fb4acb521f8933b34b80cb4f67cbd.tar.bz2
rtems-bsp-builder: Fix mail support
This fixes a problem with mailer options support that occurred because check.py uses argparse.ArgumentParser instead of tester.rt.options.
Diffstat (limited to 'rtemstoolkit')
-rw-r--r--rtemstoolkit/mailer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py
index 085a2ce..32cbc23 100644
--- a/rtemstoolkit/mailer.py
+++ b/rtemstoolkit/mailer.py
@@ -70,7 +70,7 @@ class mail:
def __init__(self, opts):
self.opts = opts
self.gitconfig_lines = None
- if opts.find_arg('--use-gitconfig') is not None:
+ if self._get_arg('--use-gitconfig'):
# Read the output of `git config --list` instead of reading the
# .gitconfig file directly because Python 2 ConfigParser does not
# accept tabs at the beginning of lines.