Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

properly match exact vulnerability matches; add changelog

  • Loading branch information...
commit cb46151a08e9d3cbdff6ebaca237da6b8cb2e627 1 parent 902aa53
Jan Schaumann jschauma authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/yvc.py
4 lib/yvc.py
@@ -475,7 +475,7 @@ def versionCompare(v1, op, v2):
475 475
476 476 Arguments:
477 477 v1 -- a string or Version object
478   - op -- operator, indicating type of comparison (">", ">=", "<", "<=")
  478 + op -- operator, indicating type of comparison (">", ">=", "<", "<=", "=")
479 479 v2 -- a string or Version object
480 480
481 481 Returns:
@@ -493,7 +493,7 @@ def versionCompare(v1, op, v2):
493 493 return (v1 < v2)
494 494 elif (op == "<="):
495 495 return (v1 <= v2)
496   - elif (op == "=="):
  496 + elif (op == "="):
497 497 return (v1 == v2)
498 498 else:
499 499 # shouldn't happen

0 comments on commit cb46151

Please sign in to comment.
Something went wrong with that request. Please try again.