Skip to content

Commit

Permalink
Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui authored Jan 15, 2017
1 parent 82b1895 commit 066303e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip_review/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def main():
if raw_version is None:
logger.warning('No update information found for {0}'.format(pkg))
all_ok = False
elif raw_version != installed_raw_version:
elif parse_version(str(raw_version)) > parse_version(str(installed_raw_version)):
if args.raw:
logger.info('{0}=={1}'.format(pkg, latest_version))
else:
Expand Down

0 comments on commit 066303e

Please sign in to comment.