Mercurial > mozilla > hg > MozillaTry
comparison mozillatry.py @ 35:61d2bb7a3ca0
remove unneeded comment
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 08 Jan 2013 14:10:31 -0800 |
parents | 9d8dce82166e |
children | 3a7e8aa80328 |
comparison
equal
deleted
inserted
replaced
34:9d8dce82166e | 35:61d2bb7a3ca0 |
---|---|
156 | 156 |
157 try_directory = self.config.get('mozilla_central') | 157 try_directory = self.config.get('mozilla_central') |
158 if (try_directory is None) or (not os.path.exists(try_directory)): | 158 if (try_directory is None) or (not os.path.exists(try_directory)): |
159 raise ConfigurationError("mozilla-central directory does not exist: %s" % try_directory) | 159 raise ConfigurationError("mozilla-central directory does not exist: %s" % try_directory) |
160 | 160 |
161 # TODO: make a 'path' type | |
162 | |
163 def configuration_files(self, options, args): | 161 def configuration_files(self, options, args): |
164 configuration_files = configuration.Configuration.configuration_files(self, options, args) | 162 configuration_files = configuration.Configuration.configuration_files(self, options, args) |
165 if not configuration_files: | 163 if not configuration_files: |
166 default_config = os.path.expanduser(self.default_config_file) | 164 default_config = os.path.expanduser(self.default_config_file) |
167 if os.path.exists(default_config): | 165 if os.path.exists(default_config): |