# HG changeset patch # User Jeff Hammel # Date 1273273034 25200 # Node ID 86b137d49467448f5f7fa2d7347db7664108a98d # Parent 6cb674db8f51355029bcc67b43d0a6e06002320c use only the path element, not the whole tuple diff -r 6cb674db8f51 -r 86b137d49467 profilemanager/manager.py --- 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