Skip to content

Commit

Permalink
Catch KeyError for pip._internal as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Mar 18, 2018
1 parent 4a23c60 commit 773dd9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========


0.1.3 (2018-03-18)
------------------

* Fix minor unhandled exception in previous release.

0.1.2 (2018-03-18)
------------------

Expand Down
2 changes: 1 addition & 1 deletion versionfinder/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
##################################################################################
"""

VERSION = '0.1.2'
VERSION = '0.1.3'
PROJECT_URL = 'https://github.com/jantman/versionfinder'
2 changes: 1 addition & 1 deletion versionfinder/versionfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

try:
import pip._internal as pip
except ImportError:
except (ImportError, KeyError):
try:
import pip
except (ImportError, KeyError):
Expand Down

0 comments on commit 773dd9c

Please sign in to comment.