Revert change. pisi can not decide which operation to return.

This commit is contained in:
Faik Uygur
2010-01-04 06:40:57 +00:00
parent 0e2a8cc9d0
commit 4a533ca0bd
2 changed files with 1 additions and 8 deletions
-4
View File
@@ -1,7 +1,3 @@
2009-12-31 Serdar Dalgıç <serdar@pardus.org.tr>
* pisi/cli/history.py: Do not give permission to takeback system to
the initial state which is always `pardus-cd repository is updated.` .
2009-12-21 Gökçen Eraslan <gokcen@pardus.org.tr>
* pisi/actionsapi/cmaketools.py: Change CMake build type to
RelWithDebInfo to get faster KDE packages.
+1 -4
View File
@@ -123,10 +123,7 @@ Lists previous operations.""")
elif ctx.get_option('takeback'):
opno = ctx.get_option('takeback')
if opno != -1:
if opno == 1:
ctx.ui.error(_("You can not takeback your system to the initial state."))
else:
self.takeback(opno)
self.takeback(opno)
return
self.redirect_output(self.print_history)