From cb480bab1b4481ade692784ff4cfc9472ade5321 2013-02-22 16:10:57 From: Joon Ro Date: 2013-02-22 16:10:57 Subject: [PATCH] joined two message lines to one --- diff --git a/IPython/core/history.py b/IPython/core/history.py index f5af839..6ef77e7 100644 --- a/IPython/core/history.py +++ b/IPython/core/history.py @@ -776,8 +776,7 @@ def extract_hist_ranges(ranges_str): endsess = rmatch.group("endsess") or startsess startsess = int(startsess.replace("~","-")) endsess = int(endsess.replace("~","-")) - assert endsess >= startsess, ("start session must be older than end " - "session") + assert endsess >= startsess, "start session must be earlier than end session" if endsess == startsess: yield (startsess, start, end)