[libvirt] [PATCH python] Fix error check for virDomainGetTime method