def set_expire(name, expire):
    return __salt__['user.update'](name, expiration_date=expire)
Check for errors before writing a file to the archive.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_shadow.py/set_expire--crossover with--dataset/ETHPy150Open AndroBugs/AndroBugs_Framework/tools/modified/androguard/patch/zipfile.py/ZipFile._writecheck