comparison profilemanager/manager.py @ 48:09a2666999fa

* restore profiles.ini to base in tests * correct dirname vs dest in cloning
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 09:26:32 -0700
parents 420becb84df7
children 4cd6fc940407
comparison
equal deleted inserted replaced
47:420becb84df7 48:09a2666999fa
108 else: 108 else:
109 name = dest 109 name = dest
110 relative = True 110 relative = True
111 if add: 111 if add:
112 dirname = '%s.%s' % (self.hash(), name) 112 dirname = '%s.%s' % (self.hash(), name)
113 dest = os.path.join(self.profile_dir, dest) 113 dest = os.path.join(self.profile_dir, dirname)
114 114
115 # update profiles.ini 115 # update profiles.ini
116 if add: 116 if add:
117 self.add(name, dirname, relative) 117 self.add(name, dirname, relative)
118 118