--- /dev/null
+#!/usr/bin/python
+
+import dbus
+
+bus = dbus.SystemBus()
+
+snapper = dbus.Interface(bus.get_object('org.opensuse.Snapper', '/org/opensuse/Snapper'),
+ dbus_interface='org.opensuse.Snapper')
+
+data = { "NUMBER_CLEANUP" : "yes", "NUMBER_LIMIT" : "10" }
+
+snapper.SetConfig("root", data)
+
" <method name='SetConfig'>\n"
" <arg name='config-name' type='s' direction='in'/>\n"
- " <arg name='data' type='(a{ss})' direction='in'/>\n"
+ " <arg name='data' type='a{ss}' direction='in'/>\n"
" </method>\n"
" <method name='CreateConfig'>\n"