# HG changeset patch # User Jeff Hammel # Date 1273190208 25200 # Node ID 216a74146d16d12df4394ab34189fdb4b76c4653 # Parent d9886a7e8df7a57dd669ed1bcb71435e74ff3423 sections, plural diff -r d9886a7e8df7 -r 216a74146d16 profilemanager/manager.py --- 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: