]> scripts.mit.edu Git - wizard.git/commitdiff
Do not warn if a random key is missing.
authorEdward Z. Yang <ezyang@mit.edu>
Fri, 9 Jul 2010 04:47:25 +0000 (00:47 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Fri, 9 Jul 2010 04:47:25 +0000 (00:47 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
wizard/app/__init__.py

index 6e4b561410b62cce2caa389d2efef6ea54c4e43b..832e71ee1d2f2a4c6687f0209b0ce81a6df46f34 100644 (file)
@@ -349,7 +349,7 @@ class Application(object):
         """
         for key, subst in self.substitutions.items():
             subs = subst(deployment)
-            if not subs and key not in self.deprecated_keys:
+            if not subs and key not in self.deprecated_keys and key not in self.random_keys:
                 logging.warning("No substitutions for %s" % key)
     def install(self, version, options):
         """