From 71c8541212bd683c1f1cb03366c6cde315e44d2a Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 28 Jul 2009 18:40:52 +0000 Subject: Snapshots: Fix typo in __init__.py Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5392 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Snapshots/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Server/Snapshots/__init__.py b/src/lib/Server/Snapshots/__init__.py index 2168ee55f..eb849e715 100644 --- a/src/lib/Server/Snapshots/__init__.py +++ b/src/lib/Server/Snapshots/__init__.py @@ -14,7 +14,7 @@ def db_from_config(fname='/etc/bcfg2.conf'): password = cp.get('snapshots', 'password') host = cp.get('snapshots', 'host') db = cp.get('snapshots', 'database') - return '%s://%s:%s@%s/@s' % (driver, user, password, host, db) + return '%s://%s:%s@%s/%s' % (driver, user, password, host, db) else: raise Exception, "unsupported db driver %s" % driver -- cgit v1.2.3-1-g7c22