add import sys to virt module b/c it needs it if the libvirt python

module is missing
reviewable/pr18780/r1
Seth Vidal 12 years ago
parent 3df57c699e
commit 7c4bbb0a77

@ -19,6 +19,8 @@ VIRT_FAILED = 1
VIRT_SUCCESS = 0
VIRT_UNAVAILABLE=2
import sys
try:
import libvirt
except ImportError:

Loading…
Cancel
Save