changeset 8:7423fa8b4343

wrong function name
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 04 Dec 2012 14:33:04 -0800
parents 51d1167cc684
children 8c8a223e4df2
files mozillatry.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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")