Mercurial > libervia-backend
diff sat/plugins/plugin_misc_identity.py @ 3262:aa71f1d40300
plugin identity: fixed update when cached data is None
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 20 Apr 2020 14:51:58 +0200 |
parents | 704dada41df0 |
children | cf07641b764d |
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_identity.py Sun Apr 19 22:52:15 2020 +0200 +++ b/sat/plugins/plugin_misc_identity.py Mon Apr 20 14:51:58 2020 +0200 @@ -361,6 +361,8 @@ f"{metadata_name} for {entity} is already disabled, nothing to " f"do") return + elif cached_data is None: + pass elif not update_is_new_data(client, entity, cached_data, data): log.debug( f"{metadata_name} for {entity} is already in cache, nothing to "