Add description to needs_update calculations

We're caching the data already. If we at this, it'll cause us to update
descriptions in github when they change.

Change-Id: I1941958cca6387bd17fd3dcfd3c519af8b355453
This commit is contained in:
Monty Taylor 2017-06-29 08:51:49 -05:00
parent 45585f0c48
commit f12da78132
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 2 additions and 0 deletions

View File

@ -261,6 +261,8 @@ def create_update_github_project(
needs_update = True
if cache.get('has_wiki', default_has_wiki) != has_wiki:
needs_update = True
if cache.get('description') != description:
needs_update = True
if not needs_update:
return False