I have no issues with the logging call, per se, it's the logged data that could be improved. :)

--
Pedro Algarvio @ phone

----- Reply message -----
De: "Mike Place" <notifications@github.com>
Para: "saltstack/salt" <salt@noreply.github.com>
Cc: "Pedro Algarvio" <pedro@algarvio.me>
Assunto: [salt] New configuration option to disable lspci queries for GPU data on master... (#8006)
Data: ter, Out 22, 2013 00:18
In salt/grains/core.py: 
> @@ -143,6 +143,14 @@ def _linux_gpu_data(): 
>          ) 
>          return {} 
>   
> +    elif not __opts__.get('enable_gpu_grains', None): 
> +        log.debug(__opts__.get('enable_gpu_grains', None)) 

Oops, that was spurious debugging that I forgot to remove. Good catch. Thank you! 

&mdash;
Reply to this email directly or view it on GitHub.