mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix syntax error which caused us to always update
This commit is contained in:
+4
-3
@@ -1622,9 +1622,10 @@ def cli(
|
||||
# Awesome sauce.
|
||||
click.echo(crayons.normal(xyzzy, bold=True))
|
||||
|
||||
if not update and need_update_check():
|
||||
# Spun off in background thread, not unlike magic.
|
||||
check_for_updates()
|
||||
if not update:
|
||||
if need_update_check():
|
||||
# Spun off in background thread, not unlike magic.
|
||||
check_for_updates()
|
||||
else:
|
||||
# Update pip to latest version.
|
||||
ensure_latest_pip()
|
||||
|
||||
Reference in New Issue
Block a user