Mercurial > mozilla > hg > ProfileManager
diff profilemanager/manager.py @ 26:d260de170cca
no need to pass self here
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 15:48:20 -0700 |
parents | fc31d3f26755 |
children | 5988a15da3b4 |
line wrap: on
line diff
--- a/profilemanager/manager.py Thu May 06 15:45:33 2010 -0700 +++ b/profilemanager/manager.py Thu May 06 15:48:20 2010 -0700 @@ -60,7 +60,7 @@ while section in parser.sections(): ctr += 1 section = 'Profile%d' % ctr - parser.add_section(self, section) + parser.add_section(section) parser.set(section, 'Name', name) parser.set(section, 'IsRelative', '%d' % int(relative)) parser.set(section, 'Path', relative and dirname or path)