UtahDave/salt — comment on commit 0daf69df96612f8e6028564064daa9bff098a937
File: salt/modules/shadow.py line 12
By SEJeff:

The below code will only really be relevant for windows and windows only. Why not just do:

if __grains__['os'] == 'Windows':

Seems a bit cleaner if your list only contains 1 thing