Actually skip 'update' when flagmapping are disabled

A 'return' was missing, meaning we still built flagmappings.

Change-Id: I01170097e06f2f44152dd0cbd57889f66f9758f4
This commit is contained in:
Stephen Finucane 2017-03-22 16:04:32 +00:00
parent 81f7a8f75a
commit efdab278fc
1 changed files with 1 additions and 0 deletions

View File

@ -578,6 +578,7 @@ def update_flagmappings(package_name, options, verbose=0):
"""
if not _use_categories:
print("This project does not use flagmappings. Nothing to update.")
return
original_flags = {}
try: