summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-07-28 18:40:52 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-07-28 18:40:52 +0000
commit71c8541212bd683c1f1cb03366c6cde315e44d2a (patch)
tree9dd54e12cf8c327474d7ca597d0618ba14678fa6
parent209841df3fbada4f15cdf36070c63e63c3ead6e5 (diff)
downloadbcfg2-71c8541212bd683c1f1cb03366c6cde315e44d2a.tar.gz
bcfg2-71c8541212bd683c1f1cb03366c6cde315e44d2a.tar.bz2
bcfg2-71c8541212bd683c1f1cb03366c6cde315e44d2a.zip
Snapshots: Fix typo in __init__.py
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5392 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Snapshots/__init__.py2
1 files changed, 1 insertions, 1 deletions
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