only for print_history
This commit is contained in:
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user