##// END OF EJS Templates
Merge pull request #2966 from joonro/history-extract-assert-msg...
Thomas Kluyver -
r9792:71e77a88 merge
parent child Browse files
Show More
@@ -776,7 +776,7 b' def extract_hist_ranges(ranges_str):'
776 endsess = rmatch.group("endsess") or startsess
776 endsess = rmatch.group("endsess") or startsess
777 startsess = int(startsess.replace("~","-"))
777 startsess = int(startsess.replace("~","-"))
778 endsess = int(endsess.replace("~","-"))
778 endsess = int(endsess.replace("~","-"))
779 assert endsess >= startsess
779 assert endsess >= startsess, "start session must be earlier than end session"
780
780
781 if endsess == startsess:
781 if endsess == startsess:
782 yield (startsess, start, end)
782 yield (startsess, start, end)
General Comments 0
You need to be logged in to leave comments. Login now