summaryrefslogtreecommitdiffstats
path: root/libvirt-override.py
diff options
context:
space:
mode:
Diffstat (limited to 'libvirt-override.py')
-rw-r--r--libvirt-override.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvirt-override.py b/libvirt-override.py
index d544a0e..909ebe3 100644
--- a/libvirt-override.py
+++ b/libvirt-override.py
@@ -2,6 +2,11 @@
# Manually written part of python bindings for libvirt
#
+# Specify -i commandline option after python was started
+if __name__ == "__main__":
+ import os
+ os.environ["PYTHONINSPECT"] = "1"
+
# On cygwin, the DLL is called cygvirtmod.dll
try:
import libvirtmod