changeset 31:216a74146d16

sections, plural
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 16:56:48 -0700
parents d9886a7e8df7
children 6f2ad307fdda
files profilemanager/manager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: