1
0
mirror of https://github.com/openSUSE/snapper.git synced 2026-02-06 09:46:06 +01:00
Files
snapper/examples/python/delete.py
2012-04-26 15:48:42 +02:00

13 lines
250 B
Python
Executable File

#!/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')
snapper.DeleteSnapshot("root", 1450)