kr_easter_egg

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-09 10:51:24 -04:00
parent 59ae6e82a9
commit 0bb7f3b6e6
+2 -2
View File
@@ -870,7 +870,7 @@ def format_pip_output(out, r=None):
# |< |- |\| |\| |- | |-| |( |- | | /
# ' ` `-' ' ` ' ` `-' ' ' ` ' ' `-' `-' ' `-'
def easter_egg(package_name):
def kr_easter_egg(package_name):
if package_name in ['requests', 'maya', 'crayons', 'delegator.py', 'records', 'tablib', 'background', 'clint']:
# Windows built-in terminal lacks proper emoji taste.
@@ -1034,7 +1034,7 @@ def install(
click.echo('{0} {1}'.format(crayons.red('ERROR (PACKAGE NOT INSTALLED):'), e))
# Ego boost.
easter_egg(package_name)
kr_easter_egg(package_name)
if lock and not skip_lock:
do_lock()