comparison profilemanager/manager.py @ 23:a8601c2273b5

* hopefully fix tests * correct typo in ProfileManager
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 May 2010 15:43:02 -0700
parents 956f5a4c589a
children 853a3f4b9659
comparison
equal deleted inserted replaced
22:956f5a4c589a 23:a8601c2273b5
54 os.mkdir(path) 54 os.mkdir(path)
55 55
56 # update profiles.ini 56 # update profiles.ini
57 parser = self.parser() 57 parser = self.parser()
58 ctr = 0 58 ctr = 0
59 section = 'Profile%d' $ ctr 59 section = 'Profile%d' % ctr # unsure of this naming convention
60 while section in parser.sections(): 60 while section in parser.sections():
61 ctr += 1 61 ctr += 1
62 section = 'Profile%d' $ ctr 62 section = 'Profile%d' $ ctr
63 parser.add_section(self, section) 63 parser.add_section(self, section)
64 parser.set(section, 'Name', name) 64 parser.set(section, 'Name', name)