summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Admin/Pull.py2
-rw-r--r--src/lib/Server/Admin/Query.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Admin/Pull.py b/src/lib/Server/Admin/Pull.py
index a8113f233..51672c912 100644
--- a/src/lib/Server/Admin/Pull.py
+++ b/src/lib/Server/Admin/Pull.py
@@ -8,7 +8,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore):
'''
__shorthelp__ = ("Integrate configuration information "
"from clients into the server repository")
- __longhelp__ = (__shorthelp__ + "\n\nbcfg2-admin pull [-v] [-f][-I]"
+ __longhelp__ = (__shorthelp__ + "\n\nbcfg2-admin pull [-v] [-f][-I] "
"<client> <entry type> <entry name>")
__usage__ = ("bcfg2-admin pull [options] <client> <entry type> "
"<entry name>\n\n"
diff --git a/src/lib/Server/Admin/Query.py b/src/lib/Server/Admin/Query.py
index 76f15948b..24847d74e 100644
--- a/src/lib/Server/Admin/Query.py
+++ b/src/lib/Server/Admin/Query.py
@@ -20,8 +20,8 @@ class Query(Bcfg2.Server.Admin.Mode):
Bcfg2.Logger.setup_logging(100, to_console=False, to_syslog=False)
Bcfg2.Server.Admin.Mode.__init__(self, cfile)
try:
- self.bcore = Bcfg2.Server.Core.Core(self.get_repo_path(), [],
- [], [],
+ 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)