##// END OF EJS Templates
Inherit history machinery from LoggingConfigurable...
Thomas Kluyver -
Show More
@@ -27,7 +27,7 b' except ImportError:'
27 import threading
27 import threading
28
28
29 # Our own packages
29 # Our own packages
30 from traitlets.config.configurable import Configurable
30 from traitlets.config.configurable import LoggingConfigurable
31 from decorator import decorator
31 from decorator import decorator
32 from IPython.utils.decorators import undoc
32 from IPython.utils.decorators import undoc
33 from IPython.utils.path import locate_profile
33 from IPython.utils.path import locate_profile
@@ -103,7 +103,7 b' def catch_corrupt_db(f, self, *a, **kw):'
103 # The hist_file is probably :memory: or something else.
103 # The hist_file is probably :memory: or something else.
104 raise
104 raise
105
105
106 class HistoryAccessorBase(Configurable):
106 class HistoryAccessorBase(LoggingConfigurable):
107 """An abstract class for History Accessors """
107 """An abstract class for History Accessors """
108
108
109 def get_tail(self, n=10, raw=True, output=False, include_latest=False):
109 def get_tail(self, n=10, raw=True, output=False, include_latest=False):
General Comments 0
You need to be logged in to leave comments. Login now