aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-04 19:04:21 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-04 19:04:21 +0000
commitf752a90d7caa1d43593bab022232ce9ae848c900 (patch)
treed4839834edf7fa774e8690c6a4bd0c9739bdfa12 /MgaRepo/commands
parent509b8b6f5b292dc2917d17761801939818e119cc (diff)
downloadmgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.gz
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.bz2
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.xz
mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.zip
add config options for maintdb
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r--MgaRepo/commands/maintdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py
index 1e5ad80..08bf723 100644
--- a/MgaRepo/commands/maintdb.py
+++ b/MgaRepo/commands/maintdb.py
@@ -31,7 +31,7 @@ def parse_options():
return opts
def maintdb(maintdb_args):
- host = config.get("submit", "host")
+ host = config.get("maintdb", "host", "maintdb.mageia.org")
maintdb_helper = get_helper("maintdb")
cmd_args = ' '.join(maintdb_args)
command = "ssh %s %s %s" % (host, maintdb_helper, cmd_args)