database_manager: Remove get_parent_group usage
The code mostly deals Group
or Entry
from pykeepass. At some point their UUID
is used and then, from its UUID
the Entry
or Group
needs to be retrieved. It should have been less convoluted to only deal with the Group
or Entry
in the first place. get_parent_group usage
is one example of where this logic is used.
This MR remove get_parent_group usage
in two steps:
- remove all the
UUID
usage - replace all the
get_parent_group usage
calls by directly accessing theparentgroup
property.