##// END OF EJS Templates
Remove python2 specific code
Srinivas Reddy Thatiparthy -
Show More
@@ -514,9 +514,6 b' class HistoryManager(HistoryAccessor):'
514 # History saving in separate thread
514 # History saving in separate thread
515 save_thread = Instance('IPython.core.history.HistorySavingThread',
515 save_thread = Instance('IPython.core.history.HistorySavingThread',
516 allow_none=True)
516 allow_none=True)
517 try: # Event is a function returning an instance of _Event...
518 save_flag = Instance(threading._Event, allow_none=True)
519 except AttributeError: # ...until Python 3.3, when it's a class.
520 save_flag = Instance(threading.Event, allow_none=True)
517 save_flag = Instance(threading.Event, allow_none=True)
521
518
522 # Private interface
519 # Private interface
General Comments 0
You need to be logged in to leave comments. Login now