only for print_history

This commit is contained in:
Faik Uygur
2008-03-03 09:17:30 +00:00
parent 9042b9830f
commit daa1fd3122
+1 -1
View File
@@ -80,7 +80,6 @@ Lists previous operations."""
def run(self): def run(self):
self.init(database = False, write = False) self.init(database = False, write = False)
ctx.set_option('ignore_build_no', True) ctx.set_option('ignore_build_no', True)
self.redirect_output()
if ctx.get_option('snapshot'): if ctx.get_option('snapshot'):
self.take_snapshot() self.take_snapshot()
return return
@@ -90,4 +89,5 @@ Lists previous operations."""
self.takeback(opno) self.takeback(opno)
return return
self.redirect_output()
self.print_history() self.print_history()