From d6d8e5ef86bbfe460709c82590596252de2d5a71 Mon Sep 17 00:00:00 2001 From: Mark Einon Date: Fri, 13 Nov 2015 11:33:56 +0000 Subject: [PATCH] upload.py: Remove unused function parameter --- tools/data_source/upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/data_source/upload.py b/tools/data_source/upload.py index fa5d3785c7f..3183a3fb400 100644 --- a/tools/data_source/upload.py +++ b/tools/data_source/upload.py @@ -348,7 +348,7 @@ def add_file( dataset, registry, json_file, output_path ): datatype.groom_dataset_content( output_path ) -def add_composite_file( dataset, registry, json_file, output_path, files_path ): +def add_composite_file( dataset, json_file, output_path, files_path ): if dataset.composite_files: os.mkdir( files_path ) for name, value in dataset.composite_files.iteritems(): @@ -414,7 +414,7 @@ def __main__(): sys.exit( 1 ) if dataset.type == 'composite': files_path = output_paths[int( dataset.dataset_id )][1] - add_composite_file( dataset, registry, json_file, output_path, files_path ) + add_composite_file( dataset, json_file, output_path, files_path ) else: add_file( dataset, registry, json_file, output_path )