ade066 Fix updating project options with python2

Authored and Committed by Pierre-Yves Chibon 5 years ago
    Fix updating project options with python2
    
    Basically python2 does not have the ``.isnumeric()``method so using it
    will not work.
    
    This fixes updating the project's options via the API when pagure is
    deployed with python2.
    
    Fixes https://pagure.io/pagure/issue/4448
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
    
        
file modified
+1 -1