Mercurial > mozilla > hg > ProfileManager
changeset 25:fc31d3f26755
i seriously need to learn to code
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 06 May 2010 15:45:33 -0700 |
parents | 853a3f4b9659 |
children | d260de170cca |
files | profilemanager/manager.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/profilemanager/manager.py Thu May 06 15:43:47 2010 -0700 +++ b/profilemanager/manager.py Thu May 06 15:45:33 2010 -0700 @@ -173,7 +173,9 @@ """ return a ConfigParser instance appropriate to profiles.ini """ - return ConfigParser().read(self.profiles) + parser = ConfigParser() + parser.read(self.profiles) + return parser def path(self, profile): """returns the path to the profile"""