Merge "Don't return archive for disabled services"

This commit is contained in:
Jenkins 2013-11-08 07:31:13 +00:00 committed by Gerrit Code Review
commit 2f861f6caa

View File

@ -174,7 +174,7 @@ class Archiver(object):
'{1}'.format(data_type, DATA_TYPES))
for manifest in manifests:
if not manifest.enabled and not manifest.valid:
if not manifest.enabled or not manifest.valid:
continue
if hasattr(manifest, data_type):