Don't return archive for disabled services

Change-Id: I31b561fc204f02c8f3417c7a55a429e39b1e1ee8
This commit is contained in:
Serg Melikyan 2013-11-08 10:45:41 +04:00
parent b8c433b2c1
commit d14ee9e827

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):