##// END OF EJS Templates
Make 'n' optional for search type history request
Takafumi Arakaki -
Show More
@@ -486,7 +486,7 b' class Kernel(Configurable):'
486 486 raw=raw, output=output)
487 487
488 488 elif hist_access_type == 'search':
489 n = parent['content']['n']
489 n = parent['content'].get('n')
490 490 pattern = parent['content']['pattern']
491 491 hist = self.shell.history_manager.search(pattern, raw=raw,
492 492 output=output, n=n)
General Comments 0
You need to be logged in to leave comments. Login now