Alon Bar-Lev has submitted this change and it was merged.
Change subject: core: reduce the use of lists
......................................................................
core: reduce the use of lists
apparently the default object initialization is happening once per
process execution, so must be avoided.
also reduce other usages.
Change-Id: I33078e67c7235f9cdd7e82e1ec2714a5f90426b2
Reported-By: Antoni Segura Puimedon <asegurap(a)redhat.com>
Signed-off-by: Alon Bar-Lev <alonbl(a)redhat.com>
---
M src/otopi/filetransaction.py
M src/otopi/miniyum.py
M src/otopi/plugin.py
M src/otopi/transaction.py
M src/plugins/otopi/dialog/cli.py
M src/plugins/otopi/network/hostname.py
M src/plugins/otopi/packagers/yumpackager.py
M src/plugins/otopi/services/openrc.py
M src/plugins/otopi/services/rhel.py
M src/plugins/otopi/services/systemd.py
10 files changed, 20 insertions(+), 19 deletions(-)
Approvals:
Alon Bar-Lev: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17496
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I33078e67c7235f9cdd7e82e1ec2714a5f90426b2
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>