Merge "Remove six.PY3"

This commit is contained in:
Zuul 2020-10-16 00:22:51 +00:00 committed by Gerrit Code Review
commit d99c189d9b
1 changed files with 3 additions and 4 deletions

View File

@ -18,14 +18,13 @@ import ast
import json
import os
import re
import six
from ansible import errors
# cmp() doesn't exist on python3
if six.PY3:
def cmp(a, b):
return 0 if a == b else 1
def cmp(a, b):
return 0 if a == b else 1
class FilterModule(object):