diff options
Diffstat (limited to 'src/lib/Server/Admin')
-rw-r--r-- | src/lib/Server/Admin/Client.py | 5 | ||||
-rw-r--r-- | src/lib/Server/Admin/Query.py | 2 | ||||
-rw-r--r-- | src/lib/Server/Admin/Reports.py | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/Server/Admin/Client.py b/src/lib/Server/Admin/Client.py index 1cecc0e71..a63c971fe 100644 --- a/src/lib/Server/Admin/Client.py +++ b/src/lib/Server/Admin/Client.py @@ -8,8 +8,9 @@ class Client(Bcfg2.Server.Admin.Mode): def __init__(self, configfile): Bcfg2.Server.Admin.Mode.__init__(self, configfile) try: - self.bcore = Bcfg2.Server.Core.Core(self.get_repo_path(), [], ['Metadata'], - 'foo', False) + self.bcore = Bcfg2.Server.Core.Core(self.get_repo_path(), + [], ['Metadata'], + 'foo', False, 'UTF-8') except Bcfg2.Server.Core.CoreInitError, msg: self.errExit("Core load failed because %s" % msg) [self.bcore.fam.Service() for _ in range(5)] diff --git a/src/lib/Server/Admin/Query.py b/src/lib/Server/Admin/Query.py index 322329bcb..9fc019a88 100644 --- a/src/lib/Server/Admin/Query.py +++ b/src/lib/Server/Admin/Query.py @@ -10,7 +10,7 @@ class Query(Bcfg2.Server.Admin.Mode): try: self.bcore = Bcfg2.Server.Core.Core(self.get_repo_path(), [], ['Metadata'], - 'foo', False) + 'foo', False, 'UTF-8') except Bcfg2.Server.Core.CoreInitError, msg: self.errExit("Core load failed because %s" % msg) [self.bcore.fam.Service() for _ in range(1)] diff --git a/src/lib/Server/Admin/Reports.py b/src/lib/Server/Admin/Reports.py index 192afd777..1a2335703 100644 --- a/src/lib/Server/Admin/Reports.py +++ b/src/lib/Server/Admin/Reports.py @@ -21,6 +21,8 @@ def timecompare(client1, client2): client2.current_interaction.timestamp) class Reports(Bcfg2.Server.Admin.Mode): + __shorthelp__ = 'bcfg2-admin reports' + __longhelp__ = __shorthelp__ + '\n\t Command line interface for the reporting system' def __call__(self, args): Bcfg2.Server.Admin.Mode.__call__(self, args) |