# HG changeset patch # User Jeff Hammel # Date 1273185933 25200 # Node ID fc31d3f26755bb7f34632a89bd1cf16c9bb85b79 # Parent 853a3f4b9659f6ad06abf2a50a705da699035e8d i seriously need to learn to code diff -r 853a3f4b9659 -r fc31d3f26755 profilemanager/manager.py --- 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"""