jjelen / pagure

Forked from pagure 6 years ago
Clone

fbbe78d Do not crash when getting the branches ready for PR on a fork with no parent

Authored and Committed by pingou 6 years ago
    Do not crash when getting the branches ready for PR on a fork with no parent
    
    If a fork has no parent and you visit it's overview page, this code will
    crash as it will try to access the settings of the parent project that
    no longer exists.
    
    Fixes an error reported automatically by email
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+1 -1