8da4af Handle the situation where we cannot find a desired commit

Authored and Committed by Pierre-Yves Chibon 9 years ago
    Handle the situation where we cannot find a desired commit
    
    Should fix the error seen in the logs:
      File "/srv/progit/pagure/ui/repo.py", line 435, in view_raw_file
        if commit.parents:
    AttributeError: 'NoneType' object has no attribute 'parents'
    
        
file modified
+3 -0