@@ -484,7 +484,7 @@ def process_dje_licenses(self, dje_license_list, dje_license_dict, output_path):
484484 license_list_context .append (gen_path_context )
485485 return license_list_context
486486
487- def pre_generation (self , gen_location , input_list , action_num , all_in_one ):
487+ def pre_generation (self , gen_location , input_list , action_num ):
488488 """
489489 Perfom some pre-generation.
490490 TODO: document me
@@ -506,15 +506,6 @@ def pre_generation(self, gen_location, input_list, action_num, all_in_one):
506506 file_location = join (file_location , basename (file_location ))
507507 file_location += '.ABOUT'
508508
509- if all_in_one :
510- # This is to get the filename instead of the file path
511- # Note: The following code is the get the filename instead of
512- # the file path because the tool is going to put ALL the
513- # generated ABOUT file into one single directory.
514- # However, this option will be removed in the later release
515- # as putting the ALL the ABOUT files in a single directory
516- # doesn't make very much sense.
517- file_location = file_location .rpartition ('/' )[2 ]
518509 about_file_location = join (gen_location , file_location )
519510 about_file_dir = dirname (about_file_location )
520511 if not os .path .exists (about_file_dir ):
@@ -659,11 +650,6 @@ def _exists(location):
6596503 - Replace the ABOUT file with the current generation
660651"""
661652
662- ALL_IN_ONE_HELP = """\
663- Generate all the ABOUT files in the [output_path] without
664- any project structure
665- """
666-
667653COPY_FILES_HELP = """\
668654 Copy the '*_file' from the project to the generated location
669655Project path - Project path
@@ -694,7 +680,6 @@ def _exists(location):
694680def main (parser , options , args ):
695681 verbosity = options .verbosity
696682 action = options .action
697- all_in_one = options .all_in_one
698683 copy_files_path = options .copy_files
699684 license_text_path = options .license_text_location
700685 mapping_config = options .mapping
@@ -876,8 +861,7 @@ def main(parser, options, args):
876861 dje_license_dict )
877862 components_list = gen .pre_generation (output_path ,
878863 input_list ,
879- action_num ,
880- all_in_one )
864+ action_num )
881865 formatted_output = gen .format_output (components_list )
882866 gen .write_output (formatted_output )
883867
@@ -941,8 +925,6 @@ def format_option(self, option):
941925 help = VERBOSITY_HELP )
942926 parser .add_option ('--action' , type = int ,
943927 help = ACTION_HELP )
944- parser .add_option ('--all_in_one' , action = 'store_true' ,
945- help = ALL_IN_ONE_HELP )
946928 parser .add_option ('--copy_files' , type = 'string' ,
947929 help = COPY_FILES_HELP )
948930 parser .add_option ('--license_text_location' , type = 'string' ,
0 commit comments