[RTEMS Project] #4402: rtemstoolkit/mailer.py option added twice
RTEMS trac
trac at rtems.org
Wed May 5 14:00:34 UTC 2021
#4402: rtemstoolkit/mailer.py option added twice
-------------------------+--------------------
Reporter: Alex White | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: tool | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
-------------------------+--------------------
In the `add_arguments` function, the intent is that the first two options
are added to the arguments before the rest of them are iterated and added.
The iteration of the remaining options, however, starts with the first
option when it should start with the second.
Additionally, the order of keys in a dictionary cannot be relied on for
all versions of Python we support. The dictionary should be changed to an
`OrderedDict` to preserve key order to facilitate iteration.
--
Ticket URL: <http://devel.rtems.org/ticket/4402>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list