changeset 69:86b137d49467

use only the path element, not the whole tuple
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 15:57:14 -0700
parents 6cb674db8f51
children 6e282cacd5f0
files profilemanager/manager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/manager.py	Fri May 07 15:56:02 2010 -0700
+++ b/profilemanager/manager.py	Fri May 07 15:57:14 2010 -0700
@@ -258,7 +258,7 @@
         if os.path.isabs(backup[0]):
             backup_path = backup
         else:
-            backup_path = os.path.join(self.profile_dir, self.backups_dir, backup)
+            backup_path = os.path.join(self.profile_dir, self.backups_dir, backup[0])
 
         # restore the backup over ``profile``
         # make a backup copy first to avoid data loss