Signed-off-by: Fabiano FidĂȘncio <fidencio(a)redhat.com>
---
examples/config-demo.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/config-demo.py b/examples/config-demo.py
index e585705..4e86742 100644
--- a/examples/config-demo.py
+++ b/examples/config-demo.py
@@ -1,5 +1,8 @@
#!/usr/bin/env python2
+import gi
+
+gi.require_version('LibvirtGConfig', '1.0')
from gi.repository import LibvirtGConfig
domain = LibvirtGConfig.Domain.new()
--
2.21.0