From aaf2b1dfea6494c98234326cb8cbf79d752a9b2f Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 22 Feb 2008 14:16:16 +0000 Subject: [PATCH] Update takeback doc --- pisi/api.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index bca1dd66..e17a2f79 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -285,10 +285,11 @@ def install(packages, reinstall=False, ignore_file_conflicts=False): def takeback(operation): """ - Takes the system back to the state after the given operation no from the pisi history. - @param operation: operation number -> integer + Takes back the system to a previous state. Uses pisi history to find out which packages were + installed at the time _after_ the given operation that the system is requested to be taken back. + @param operation: number of the operation that the system will be taken back -> integer """ - + historydb = pisi.db.historydb.HistoryDB() historydb.create_history("takeback")