Mercurial > mozilla > hg > ProfileManager
changeset 37:76fc1a23182c
instantiate a parser
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 17:52:06 -0700 |
parents | a6222b71aab6 |
children | 81500171fda8 |
files | profilemanager/manager.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/profilemanager/manager.py Thu May 06 17:49:28 2010 -0700 +++ b/profilemanager/manager.py Thu May 06 17:52:06 2010 -0700 @@ -76,7 +76,8 @@ remove a profile from profiles.ini - delete: delete the profile directory as well """ - section = self.section(name) + parser = self.parser() + section = self.section(name, parser) if section is None: raise ProfileNotFound('Profile %s not found in %s' % (profile, self.profiles)) if delete: # remove the profile from disk