diff options
Diffstat (limited to 'ipapython/install')
-rw-r--r-- | ipapython/install/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipapython/install/cli.py b/ipapython/install/cli.py index d2250e516..aed0bc9fe 100644 --- a/ipapython/install/cli.py +++ b/ipapython/install/cli.py @@ -218,7 +218,8 @@ class ConfigureTool(admintool.AdminTool): if value not in value_type: raise ValueError( "invalid choice {0} (choose from {1})".format( - repr(value), ', '.join(repr(value_type)))) + repr(value), ', '.join( + sorted(repr(v) for v in value_type)))) return value else: parse = value_type |