]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- updated example
authorArvin Schnell <aschnell@suse.de>
Wed, 5 Sep 2012 08:09:24 +0000 (10:09 +0200)
committerArvin Schnell <aschnell@suse.de>
Wed, 5 Sep 2012 08:09:24 +0000 (10:09 +0200)
examples/python/comparison.py

index 89ec73fd11766d0b2043dcb2934f6855e7457a60..5c6461c7b27a74ee927d997e3320891083d6f353 100755 (executable)
@@ -14,18 +14,8 @@ num_post = 53
 
 snapper.CreateComparison(config_name, num_pre, num_post)
 
-
 files = snapper.GetFiles(config_name, num_pre, num_post)
 
 for file in files:
-    print file[0], file[1], file[2]
-
-
-snapper.SetUndoAll(config_name, num_pre, num_post, True)
-
-
-undo_steps = snapper.GetUndoSteps("root", num_pre, num_post)
-
-for undo_step in undo_steps:
-    print undo_step[0], undo_step[1]
+    print file[0], file[1]