diff profilemanager/manager.py @ 74:b6bb59b79525

* return the backed-up profile * further test restoring profiles
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 17:09:32 -0700
parents 1cfd259f74cf
children a63dd19807c8
line wrap: on
line diff
--- a/profilemanager/manager.py	Fri May 07 16:30:34 2010 -0700
+++ b/profilemanager/manager.py	Fri May 07 17:09:32 2010 -0700
@@ -297,6 +297,9 @@
                 if not os.listdir(backups_dir):
                     shutil.rmtree(backups_dir)
 
+        # return which backup is restored
+        return backup
+
     def temporary(self):
         """make a temporary profile"""
         raise NotImplementedError