Mercurial > mozilla > hg > ProfileManager
diff profilemanager/manager.py @ 31:216a74146d16
sections, plural
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 16:56:48 -0700 |
parents | d9886a7e8df7 |
children | a6222b71aab6 |
line wrap: on
line diff
--- a/profilemanager/manager.py Thu May 06 16:53:33 2010 -0700 +++ b/profilemanager/manager.py Thu May 06 16:56:48 2010 -0700 @@ -191,7 +191,7 @@ """ if parser is None: parser = self.parser() - for section in parser.section(): + for section in parser.sections(): if not parser.has_option(section, 'name'): continue # not a profile if parser.get(section, 'name') == profile: