Merge pull request #1022 from skvidal/devel

add import sys to virt module b/c it needs it if the libvirt python
This commit is contained in:
Michael DeHaan 2012-09-08 05:20:07 -07:00
commit 8ebd228bd3

View file

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