Merge "Remove six.PY3"

This commit is contained in:
Zuul 2020-09-11 01:13:07 +00:00 committed by Gerrit Code Review
commit 874032c9c9
1 changed files with 2 additions and 6 deletions

View File

@ -41,12 +41,8 @@ RESET_LOGGING = [
RP_PREFIX = 'osc-placement-functional-tests-'
# argparse in python 2 and 3 have different error messages
ARGUMENTS_MISSING = 'too few arguments'
ARGUMENTS_REQUIRED = 'argument %s is required'
if six.PY3:
ARGUMENTS_MISSING = 'the following arguments are required'
ARGUMENTS_REQUIRED = 'the following arguments are required: %s'
ARGUMENTS_MISSING = 'the following arguments are required'
ARGUMENTS_REQUIRED = 'the following arguments are required: %s'
class CommandException(Exception):