Mercurial > mozilla > hg > MozillaTry
comparison mozillatry.py @ 12:c0e50e040275
oops
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 04 Dec 2012 15:43:58 -0800 |
parents | 9b90cf893943 |
children | 1e90d869f787 |
comparison
equal
deleted
inserted
replaced
11:9b90cf893943 | 12:c0e50e040275 |
---|---|
103 | 103 |
104 if (not self.config.get('opt')) and (not self.config.get('debug')): | 104 if (not self.config.get('opt')) and (not self.config.get('debug')): |
105 raise ConfigurationError("Must have opt or debug builds") | 105 raise ConfigurationError("Must have opt or debug builds") |
106 | 106 |
107 def configuration_files(self, options, args): | 107 def configuration_files(self, options, args): |
108 configuration_files = configuration.Configuration(self, options, args) | 108 configuration_files = configuration.Configuration.configuration_files(self, options, args) |
109 if not configuration_files: | 109 if not configuration_files: |
110 default_config = os.path.expanduser(default_config_file) | 110 default_config = os.path.expanduser(self.default_config_file) |
111 if os.path.exists(default_config): | 111 if os.path.exists(default_config): |
112 configuration_files = [default_config] | 112 configuration_files = [default_config] |
113 return configuration_files | 113 return configuration_files |
114 | 114 |
115 def main(args=sys.argv[1:]): | 115 def main(args=sys.argv[1:]): |