def parse_timezone(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--utc', dest='utc', action='store_true')
    parser.add_argument('--nontp', dest='nontp', action='store_true')
    parser.add_argument('--ntpservers', dest='ntpservers', action='store')
    parser.add_argument('--isUtc', dest='isutc', action='store_true')
    parser.add_argument('timezone')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
construct the appropriate hashcode needed for HTTP digest
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_timezone--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/auth/digest.py/digest_password