Fixes for python3.4 support
- Removed yasfb from requirements (no longer needed, not py3 compat) - Changed iops calculation to be compatible with py3 division changes Change-Id: Ic8a53562be401deaa391d21b5ff6f92ffa7d07d3
This commit is contained in:
parent
0077c9d014
commit
475f10ef9b
@ -481,7 +481,7 @@ class PowerVMInspector(virt_inspector.Inspector):
|
||||
prev_adpt = find_prev(cur_adpt)
|
||||
prev_ops = ((prev_adpt.num_reads + prev_adpt.num_writes)
|
||||
if prev_adpt else 0)
|
||||
iops = (cur_ops - prev_ops) / date_delta.seconds
|
||||
iops = (cur_ops - prev_ops) // date_delta.seconds
|
||||
|
||||
# PowerVM only shows the connection (SCSI or FC). Name after
|
||||
# the connection name
|
||||
|
@ -1,3 +1,2 @@
|
||||
oslo.log>=1.2.0 # Apache-2.0
|
||||
pbr>=0.11,<2.0
|
||||
yasfb>=0.5.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user