comparison profilemanager/manager.py @ 62:e29fed5097c3

more case corrections
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 May 2010 12:11:47 -0700
parents 24782e4c70ca
children 2f58555b3b28
comparison
equal deleted inserted replaced
61:24782e4c70ca 62:e29fed5097c3
261 self.write(parser) 261 self.write(parser)
262 262
263 def path(self, profile): 263 def path(self, profile):
264 """returns the path to the profile""" 264 """returns the path to the profile"""
265 profile = self.profile_dict(profile) 265 profile = self.profile_dict(profile)
266 if profile.get('isrelative', None) == '1': 266 if profile.get('IsRelative', None) == '1':
267 return os.path.join(self.profile_dir, profile['path']) 267 return os.path.join(self.profile_dir, profile['Path'])
268 return profile['path'] 268 return profile['Path']
269 269
270 def parser(self): 270 def parser(self):
271 """ 271 """
272 return a ConfigParser instance appropriate to profiles.ini 272 return a ConfigParser instance appropriate to profiles.ini
273 """ 273 """