##// END OF EJS Templates
cut if history range asked is bigger than history length...
Matthias BUSSONNIER -
Show More
@@ -303,7 +303,7 b' class HistoryManager(Configurable):'
303 n = len(input_hist)
303 n = len(input_hist)
304 if start < 0:
304 if start < 0:
305 start += n
305 start += n
306 if not stop:
306 if not stop or (stop > n):
307 stop = n
307 stop = n
308 elif stop < 0:
308 elif stop < 0:
309 stop += n
309 stop += n
General Comments 0
You need to be logged in to leave comments. Login now