From df61ecffc6c271251bce3806499ef14d3f528e54 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Tue, 29 Oct 2019 15:15:14 -0300 Subject: [PATCH] [snap] mapping verified status for suggestions --- bauh/gems/snap/controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bauh/gems/snap/controller.py b/bauh/gems/snap/controller.py index be96afa5..24a5f42e 100644 --- a/bauh/gems/snap/controller.py +++ b/bauh/gems/snap/controller.py @@ -45,7 +45,8 @@ class SnapManager(SoftwareManager): name=app_json.get('name'), version=app_json.get('version'), latest_version=app_json.get('version'), - description=app_json.get('description', app_json.get('summary'))) + description=app_json.get('description', app_json.get('summary')), + verified_publisher=app_json.get('developer_validation', '') == 'verified') if app.publisher and app.publisher.endswith('*'): app.verified_publisher = True