[backup] fix misplaced paren stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 15 Mar 2010 11:16:40 +0100
branchstable
changeset 4904 a5250dafdcac
parent 4901 19ecbbc4f633
child 4905 cc94a3f3321f
child 4909 a13c1d1ecc5b
[backup] fix misplaced paren
server/migractions.py
--- a/server/migractions.py	Fri Mar 12 16:21:13 2010 +0100
+++ b/server/migractions.py	Mon Mar 15 11:16:40 2010 +0100
@@ -145,7 +145,7 @@
         try:
             for source in repo.sources:
                 try:
-                    source.backup(osp.join(tmpdir, source.uri, self.confirm))
+                    source.backup(osp.join(tmpdir, source.uri), self.confirm)
                 except Exception, ex:
                     print '-> error trying to backup %s [%s]' % (source.uri, ex)
                     if not self.confirm('Continue anyway?', default='n'):