Skip to content

Commit

Permalink
Merge pull request #1702 from adsultana/empty-update-outdated
Browse files Browse the repository at this point in the history
Fix `do_outdated()` when `pip freeze` is blank
  • Loading branch information
kennethreitz authored Mar 13, 2018
2 parents d52b9fd + 0aca562 commit f9cdd65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ def do_py(system=False):
def do_outdated():
packages = {}
results = delegator.run('{0} freeze'.format(which('pip'))).out.strip().split('\n')
results = filter(bool, results)
for result in results:
packages.update(convert_deps_from_pip(result))

Expand Down

0 comments on commit f9cdd65

Please sign in to comment.