NoneType fixed 48/948/2
authorNaga Sugguna <ns156u@att.com>
Wed, 5 Jun 2019 14:53:14 +0000 (09:53 -0500)
committerNaga Sugguna <ns156u@att.com>
Wed, 5 Jun 2019 16:04:42 +0000 (11:04 -0500)
Change-Id: I6cfbddd6590f11c392113df878ba1faa774d3bcc
Signed-off-by: Naga Sugguna <ns156u@att.com>
bluval/bluval.py

index 8ed6bdf..bd89a48 100644 (file)
@@ -78,7 +78,8 @@ def main(blueprint, layer):
     yaml location from blueprint name. Invokes validate on blue print.
     """
     yaml_loc = 'bluval/bluval-{}.yaml'.format(blueprint)
-    layer = layer.lower()
+    if layer is not None:
+        layer = layer.lower()
     validate_blueprint(yaml_loc, layer)