You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subsequent conditional check does not validate whether the transfer_id is actually present in the transfer_map since the following conditional check in both the action == 'deltransfer'
When the transfer_map is loaded in datatransfer.py via
migrid-sync/mig/shared/functionality/datatransfer.py
Line 750 in e1896df
The subsequent conditional check does not validate whether the transfer_id is actually present in the transfer_map since the following conditional check in both the
action == 'deltransfer'
migrid-sync/mig/shared/functionality/datatransfer.py
Line 752 in e1896df
and
action == 'redotransfer'
migrid-sync/mig/shared/functionality/datatransfer.py
Line 761 in e1896df
will never be true since an empty collection's truth value is false.
https://stackoverflow.com/questions/23177439/how-to-check-if-a-dictionary-is-empty
https://docs.python.org/3.8/library/stdtypes.html#truth-value-testing
Might be a leftover from python2
The text was updated successfully, but these errors were encountered: