def deprecated(self, pkg, version):
    msg = 'using "{0}@{1}" which is a deprecated version'
    tty.warn(msg.format(pkg, version))
def deprecated(self, pkg, version):
    msg = 'using "{0}@{1}" which is a deprecated version'
    tty.warn(msg.format(pkg, version))