Mercurial > mozilla > hg > ProfileManager
diff profilemanager/manager.py @ 37:76fc1a23182c
instantiate a parser
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 17:52:06 -0700 |
parents | a6222b71aab6 |
children | 81500171fda8 |
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