euscan: added simple support to result confidence

Confidence values are meaningless at the moment. Need to fix it.

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-05-23 16:44:44 +02:00
parent a18083bd98
commit 1efeee4134
9 changed files with 29 additions and 15 deletions

View File

@ -266,8 +266,8 @@ def main():
if ret is not None:
if len(ret) > 0:
for cp, url, version, handler in ret:
output.result(cp, version, url, handler)
for cp, url, version, handler, confidence in ret:
output.result(cp, version, url, handler, confidence)
elif not CONFIG['quiet']:
output.ewarn(
"Didn't find any new version, check package's homepage " +