# HG changeset patch # User Jeff Hammel # Date 1354668620 28800 # Node ID 7ca5d9a3b1576e2ad651651237cb7ac9e1bede89 # Parent 6a3754236d1f56ee965972115593c41d8d21aca3 expanduser diff -r 6a3754236d1f -r 7ca5d9a3b157 mozillatry.py --- a/mozillatry.py Tue Dec 04 16:35:35 2012 -0800 +++ b/mozillatry.py Tue Dec 04 16:50:20 2012 -0800 @@ -104,11 +104,11 @@ if (not self.config.get('opt')) and (not self.config.get('debug')): raise ConfigurationError("Must have opt or debug builds") + self.config['mozilla_central'] = os.path.expanduser(self.config['mozilla_central']) try_directory = self.config.get('mozilla_central') if (try_directory is None) or (not os.path.exists(try_directory)): raise ConfigurationError("mozilla-central directory does not exist: %s" % try_directory) - config['mozilla_central'] = os.path.expanduser(config['mozilla_central']) # TODO: make a 'path' type def configuration_files(self, options, args):