Closed skovorodkin closed 7 years ago
Hmm this is part of the code which could really use some more test coverage... I'll take a look tonight...
I haven't checked if it's really a bug yet.
I've just checked, and, yes, bug exists and this change fixes it.
AppRole.map_val
is only used byAppRole.__init__
, and the latter passesdest
dict as the first argument, whilemap_val
hassrc
as the first parameter.It makes sense to fix
map_val
signature and putdest
on the first place. This way we change only one line and at the same time make it to follow traditions of some other languages.I noticed it fixing https://github.com/Autodesk/aomi/pull/126, but haven't checked if it's really a bug yet.
TBU.