changeset 30:d9886a7e8df7

return the full directory path
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 16:53:33 -0700
parents 105ecbac0928
children 216a74146d16
files profilemanager/manager.py profilemanager/tests/profiles/profiles.ini
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/profilemanager/manager.py	Thu May 06 16:51:21 2010 -0700
+++ b/profilemanager/manager.py	Thu May 06 16:53:33 2010 -0700
@@ -69,7 +69,7 @@
         parser.write(file(self.profiles, 'w'))
         
         # return the directory name
-        return dirname
+        return directory
 
     def remove(self, name, delete=True):
         """
--- a/profilemanager/tests/profiles/profiles.ini	Thu May 06 16:51:21 2010 -0700
+++ b/profilemanager/tests/profiles/profiles.ini	Thu May 06 16:53:33 2010 -0700
@@ -1,1 +1,7 @@
+[Profile0]
+path = i91olz8y.testprofile
+isrelative = 1
+name = testprofile
+
 [General]
+