e0eff8b ipalib.parameters: Handle 0-prefixed octal format of ints

2 files Authored by pviktori 8 years ago, Committed by tbabej 8 years ago,
    ipalib.parameters: Handle 0-prefixed octal format of ints
    
    In Python 2, numbers prfixed with '0' are parsed as octal,
    e.g. '020' -> 16. In Python 3, the prefix is '0o'.
    
    Handle the old syntax for IPA's parameter conversion to keep
    backwards compatibility.
    
    Reviewed-By: Tomas Babej <tbabej@redhat.com>
    
        
file modified
+3 -0