summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Info.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-08-12 08:26:50 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-08-12 08:29:53 -0400
commit5c573e00a168c90c5c718566c75aadf736566676 (patch)
tree0dba4d9411304f4d29daf3569535227be8939abf /src/lib/Bcfg2/Server/Info.py
parent0f7edd60e67d32438a8be42002faacde4e4a7649 (diff)
downloadbcfg2-5c573e00a168c90c5c718566c75aadf736566676.tar.gz
bcfg2-5c573e00a168c90c5c718566c75aadf736566676.tar.bz2
bcfg2-5c573e00a168c90c5c718566c75aadf736566676.zip
testsuite: fixed more unit tests
Diffstat (limited to 'src/lib/Bcfg2/Server/Info.py')
-rw-r--r--src/lib/Bcfg2/Server/Info.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Info.py b/src/lib/Bcfg2/Server/Info.py
index 2b2149606..649ab2bb7 100644
--- a/src/lib/Bcfg2/Server/Info.py
+++ b/src/lib/Bcfg2/Server/Info.py
@@ -85,7 +85,7 @@ def load_interpreters():
return (interpreters, default)
-class InfoCmd(Bcfg2.Options.Subcommand):
+class InfoCmd(Bcfg2.Options.Subcommand): # pylint: disable=W0223
""" Base class for bcfg2-info subcommands """
def _expand_globs(self, globs, candidates):
@@ -128,6 +128,9 @@ class Help(InfoCmd, Bcfg2.Options.HelpCommand):
def command_registry(self):
return self.core.commands
+ def run(self, setup):
+ Bcfg2.Options.HelpCommand.run(self, setup)
+
class Debug(InfoCmd):
""" Shell out to a Python interpreter """