Merge "Fix no index options for zuul_swift_upload"

This commit is contained in:
Jenkins 2014-08-01 00:11:55 +00:00 committed by Gerrit Code Review
commit b72005c47c

View File

@ -196,11 +196,11 @@ if __name__ == '__main__':
file_list += build_file_list(
file_path, logserver_prefix, swift_destination_prefix,
(not (args.no_indexes and args.no_dir_indexes))
(not (args.no_indexes or args.no_dir_indexes))
)
index_file = ''
if not (args.no_indexes and args.no_root_index):
if not (args.no_indexes or args.no_root_index):
index_file = make_index_file(root_list, logserver_prefix,
swift_destination_prefix)
file_list.append({