

def get_job_info(self):
    'Returns information about job currently running\n\n        :returns: BlockDeviceJobInfo or None\n        '
    status = self._guest._domain.blockJobInfo(self._disk, flags=0)
    if (status != (- 1)):
        return BlockDeviceJobInfo(job=status.get('type', 0), bandwidth=status.get('bandwidth', 0), cur=status.get('cur', 0), end=self.get('end', 0))

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py BlockDevice.get_job_info/VarMisuse@81/131 `status`->`self`