Change in vdsm[master]: vm: remove unused constant

fromani at redhat.com fromani at redhat.com
Fri Apr 24 08:02:33 UTC 2015


Francesco Romani has uploaded a new change for review.

Change subject: vm: remove unused constant
......................................................................

vm: remove unused constant

The statistics handling code which uses the _MBPS_TO_BPS constant
was moved into vmstats.py, hence this constant is now useless here.

Change-Id: Ic7c8983148d6dd4a14cf7591d612156ec9d27707
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/vm.py
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/02/40202/1

diff --git a/vdsm/virt/vm.py b/vdsm/virt/vm.py
index 49005eb..be6ea94 100644
--- a/vdsm/virt/vm.py
+++ b/vdsm/virt/vm.py
@@ -184,9 +184,6 @@
                         ["apparentsize", "truesize"])
 
 
-_MBPS_TO_BPS = 10 ** 6 / 8
-
-
 class NotifyingVirDomain:
     # virDomain wrapper that notifies vm when a method raises an exception with
     # get_error_code() = VIR_ERR_OPERATION_TIMEOUT


-- 
To view, visit https://gerrit.ovirt.org/40202
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7c8983148d6dd4a14cf7591d612156ec9d27707
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list