Basically, just change 0744 to 0o744 in order to be compatible with
python3.
Signed-off-by: Fabiano FidĂȘncio <fidencio(a)redhat.com>
---
examples/config-demo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/config-demo.py b/examples/config-demo.py
index de1db74..506afb9 100644
--- a/examples/config-demo.py
+++ b/examples/config-demo.py
@@ -87,7 +87,7 @@ pool.set_source(pool_source)
perms = LibvirtGConfig.StoragePermissions.new()
perms.set_owner(1001)
perms.set_group(1005)
-perms.set_mode(0744)
+perms.set_mode(0o744)
perms.set_label("virt_image_t")
pool_target = LibvirtGConfig.StoragePoolTarget.new()
--
2.21.0