• Anton Shestakov's avatar
    obslog: make obslog --no-origin -f work with multiple successor sets · 6ea05c9744de
    Anton Shestakov authored
    When trying to sort multiple successor sets, this block of code used to fail
    with:
    
    - TypeError: '<' not supported between instances of 'dict' and 'dict' (on py3)
    - TypeError: cannot compare sets using cmp() (on py2)
    
    So for sorted() to work properly, we need to remove dicts and sets from the
    data.
    6ea05c9744de
obshistory.py 30.7 KB