From ba70f03694c6ba6f858683093c9e107fdd3fb49b Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Fix typos --- compare/compare.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compare/compare.py b/compare/compare.py index 265a639..cb27659 100644 --- a/compare/compare.py +++ b/compare/compare.py @@ -28,10 +28,10 @@ def compare_header(refspec, altspec): if refver != altver: warnings.append("different version: '%s': '%s' != '%s': '%s'" % (refname, refver, altname, altver)) - if refver != altver: + if reflic != altlic: warnings.append("different license: '%s': '%s' != '%s': '%s'" % (refname, reflic, altname, altlic)) - if refver != altver: + if refurl != alturl: warnings.append("different URL: '%s': '%s' != '%s': '%s'" % (refname, refurl, altname, alturl)) return warnings -- 1.8.3.1