# HG changeset patch # User Jeff Hammel # Date 1354660384 28800 # Node ID 7423fa8b4343b8f0390dc3da5140cbcc31cece76 # Parent 51d1167cc684c3a73008b25de521db1ee1536a93 wrong function name diff -r 51d1167cc684 -r 7423fa8b4343 mozillatry.py --- a/mozillatry.py Tue Dec 04 13:22:39 2012 -0800 +++ b/mozillatry.py Tue Dec 04 14:33:04 2012 -0800 @@ -92,10 +92,12 @@ def __init__(self): configuration.Configuration.__init__(self, usage=self.usage, load='--config') - def check(self, config): + def validate(self): """check configuration""" - if (not config.get('opt')) and (not config.get('debug')): + configuration.Configuration.validate(self) + + if (not self.config.get('opt')) and (not self.config.get('debug')): raise ConfigurationError("Must have opt or debug builds")