mbasti / pagure

Forked from pagure 7 years ago
Clone

2beeeac Add extra exception for type casting

Authored and Committed by akasurde 7 years ago
    Add extra exception for type casting
    
    While typecasting into int, NoneType will raise TypeError
    and not ValueError. This change was missed in last PR.
    
    Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
    
        
file modified
+2 -2