def __fixlocaluser(username):
 if ('\\' not in username):
  username = '{0}\\{1}'.format(__salt__['grains.get']('host'), username)
 return username.lower()

def __fixlocaluser ( username ) : if ( '\\' not in username ) : username = '{0}\\{1}' . format ( __salt__ [ 'grains.get' ] ( 'host' ) , username ) return username . lower ( )
prefixes a username w/o a backslash with the computername i .