Evan Moar Lint

This commit is contained in:
Erik Johnson 2018-08-14 09:49:15 -05:00
parent 65fef9a7c0
commit f2e55128bb
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
def test(grains):
if 'os' in grains:
return {'custom_grain_test': 'itworked'}
return {'custom_grain_test': 'itdidntwork'}
return {'custom_grain_test': 'itworked' if 'os' in grains else 'itdidntwork'}