diff options
| author | Karl-Aksel Puulmann | 2013-04-06 08:46:28 +0200 |
|---|---|---|
| committer | Karl-Aksel Puulmann | 2013-04-06 08:46:28 +0200 |
| commit | ee8a3f9b3212b72de4b96b608c31db4ef087f638 (patch) | |
| tree | 46deccbf778b7f8ab95856765f30b99455f78ff8 /src | |
| parent | 106f5ea8b75b0b2208f0e6d4a927afd159a16fa3 (diff) | |
| download | mailman-ee8a3f9b3212b72de4b96b608c31db4ef087f638.tar.gz mailman-ee8a3f9b3212b72de4b96b608c31db4ef087f638.tar.zst mailman-ee8a3f9b3212b72de4b96b608c31db4ef087f638.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/commands/cli_conf.py | 2 | ||||
| -rw-r--r-- | src/mailman/commands/docs/conf.rst | 1 | ||||
| -rw-r--r-- | src/mailman/commands/tests/test_conf.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/commands/cli_conf.py b/src/mailman/commands/cli_conf.py index 13979a591..3c3143b1a 100644 --- a/src/mailman/commands/cli_conf.py +++ b/src/mailman/commands/cli_conf.py @@ -119,7 +119,7 @@ class Conf: # Case 2: Section is given, key is not given. elif section is not None and key is None: if self._section_exists(section): - self._print_values_for_section(section, output) + self._print_values_for_section(section, output, to_sort) else: self._show_section_error(section) # Case 3: Section is not given, key is given. diff --git a/src/mailman/commands/docs/conf.rst b/src/mailman/commands/docs/conf.rst index 6e458fb54..069bce553 100644 --- a/src/mailman/commands/docs/conf.rst +++ b/src/mailman/commands/docs/conf.rst @@ -14,6 +14,7 @@ a specific key-value pair, or several key-value pairs. ... key = None ... section = None ... output = None + ... sort = None >>> from mailman.commands.cli_conf import Conf >>> command = Conf() diff --git a/src/mailman/commands/tests/test_conf.py b/src/mailman/commands/tests/test_conf.py index bca7fe72f..758f26d56 100644 --- a/src/mailman/commands/tests/test_conf.py +++ b/src/mailman/commands/tests/test_conf.py @@ -40,6 +40,7 @@ class FakeArgs: section = None key = None output = None + sort = False class FakeParser: |
