Home | History | Annotate | Download | only in site_utils

Lines Matching full:code2

86 def get_worse_code(code1, code2):
90 @param code2: An enum value of RETURN_CODES
92 @returns: the more severe one between code1 and code2.
95 return code1 if SEVERITY[code1] >= SEVERITY[code2] else code2