# Path: will/utils.py
# def show_valid(valid_str):
#     puts(colored.green(u"✓ %s" % valid_str))
# 
# def warn(warn_string):
#     puts(colored.yellow("! Warning: %s" % warn_string))
# 
# def note(warn_string):
#     puts(colored.cyan("- Note: %s" % warn_string))
# 
# def error(err_string):
#     puts(colored.red("ERROR: %s" % err_string))


import os
import sys
    import uuid
    import time
    import random
    import hashlib
                import config
                        import config
from will.utils import show_valid, warn, note, error
from clint.textui import puts, indent
from six.moves.urllib import parse
from six.moves import input

            if not had_warning and not quiet:
                show_valid("Valid.")
        except:
            # TODO: Check to see if there's a config.py.dist
            if not quiet:
                warn("no config.py found.  This might be ok, but more likely, "
                     "you haven't copied config.py.dist over to config.py")

    if not quiet:
        puts("Verifying settings... ")

    with indent(2):
        # Deprecation and backwards-compatibility for Will 1.x-> 2.x
        DEPRECATED_BUT_MAPPED_SETTINGS = {
            "USERNAME": "HIPCHAT_USERNAME",
            "PASSWORD": "HIPCHAT_PASSWORD",
            "V1_TOKEN": "HIPCHAT_V1_TOKEN",
            "V2_TOKEN": "HIPCHAT_V2_TOKEN",
            "TOKEN": "HIPCHAT_V1_TOKEN",
            "ROOMS": "HIPCHAT_ROOMS",
            "NAME": "HIPCHAT_NAME",
            "HANDLE": "HIPCHAT_HANDLE",
            "DEFAULT_ROOM": "HIPCHAT_DEFAULT_ROOM",
            "SLACK_DEFAULT_ROOM": "SLACK_DEFAULT_CHANNEL",
        }
        deprecation_warn_shown = False
        for k, v in DEPRECATED_BUT_MAPPED_SETTINGS.items():
            if not v in settings and k in settings:
                if not deprecation_warn_shown and not quiet:

# Path: will/utils.py
# def show_valid(valid_str):
#     puts(colored.green(u"✓ %s" % valid_str))
# 
# def warn(warn_string):
#     puts(colored.yellow("! Warning: %s" % warn_string))
# 
# def note(warn_string):
#     puts(colored.cyan("- Note: %s" % warn_string))
# 
# def error(err_string):
#     puts(colored.red("ERROR: %s" % err_string))


# Path: will/settings.py
import os
import sys
    import uuid
    import time
    import random
    import hashlib
                import config
                        import config
from will.utils import show_valid, warn, note, error
from clint.textui import puts, indent
from six.moves.urllib import parse
from six.moves import input


            if not had_warning and not quiet:
                show_valid("Valid.")
        except:
            # TODO: Check to see if there's a config.py.dist
            if not quiet:
                warn("no config.py found.  This might be ok, but more likely, "
                     "you haven't copied config.py.dist over to config.py")

    if not quiet:
        puts("Verifying settings... ")

    with indent(2):
        # Deprecation and backwards-compatibility for Will 1.x-> 2.x
        DEPRECATED_BUT_MAPPED_SETTINGS = {
            "USERNAME": "HIPCHAT_USERNAME",
            "PASSWORD": "HIPCHAT_PASSWORD",
            "V1_TOKEN": "HIPCHAT_V1_TOKEN",
            "V2_TOKEN": "HIPCHAT_V2_TOKEN",
            "TOKEN": "HIPCHAT_V1_TOKEN",
            "ROOMS": "HIPCHAT_ROOMS",
            "NAME": "HIPCHAT_NAME",
            "HANDLE": "HIPCHAT_HANDLE",
            "DEFAULT_ROOM": "HIPCHAT_DEFAULT_ROOM",
            "SLACK_DEFAULT_ROOM": "SLACK_DEFAULT_CHANNEL",
        }
        deprecation_warn_shown = False
        for k, v in DEPRECATED_BUT_MAPPED_SETTINGS.items():
            if not v in settings and k in settings:
                if not deprecation_warn_shown and not quiet:

                    error("Deprecated settings. The following settings will stop working in Will 2.2:")