Mercurial > mozilla > hg > ProfileManager
comparison profilemanager/manager.py @ 39:30fc269a15c8
* add additional tests
* remove unused hash argument from ProfileManager.clone
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 18:08:08 -0700 |
parents | 81500171fda8 |
children | 34c740d1962d |
comparison
equal
deleted
inserted
replaced
38:81500171fda8 | 39:30fc269a15c8 |
---|---|
93 profiles = self.profiles_dict() | 93 profiles = self.profiles_dict() |
94 if not directories: | 94 if not directories: |
95 return sorted(profiles.keys()) | 95 return sorted(profiles.keys()) |
96 return dict([(name, self.path(name)) for name in profiles.keys()]) | 96 return dict([(name, self.path(name)) for name in profiles.keys()]) |
97 | 97 |
98 def clone(self, source, dest, hash=True): | 98 def clone(self, source, dest): |
99 """ | 99 """ |
100 clones the profile `source` and output to `dest` | 100 clones the profile `source` and output to `dest` |
101 """ | 101 """ |
102 source_path = self.path(source) # fs path of the `from` profile | 102 source_path = self.path(source) # fs path of the `from` profile |
103 | 103 |