File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ def format_output(input_list):
247247 about_dict_list ['about_resource' ], component_name , component_version )
248248
249249 for item in sorted (about_dict_list .iterkeys ()):
250+ if item == 'about_file' :
251+ continue
250252 if not item in MANDATORY_FIELDS :
251253 # The purpose of the replace('\n', '\n ') is used to
252254 # format the continuation strings
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def test_format_output(self):
148148 'about_resource' : '.' , 'name' : 'ABOUT Tool' }]]
149149 expected_output = [
150150 [join (TESTDATA_PATH , 'test_files_for_genabout/about.py.ABOUT' ),
151- 'about_resource: .\n name: ABOUT Tool\n version: 0.8.1\n \n about_file: about.py.ABOUT \ n ' ]]
151+ 'about_resource: .\n name: ABOUT Tool\n version: 0.8.1\n \n ' ]]
152152 output = gen .format_output (input_list )
153153 self .assertEqual (expected_output , output )
154154 self .assertFalse (gen .warnings , "No warnings should be returned." )
Original file line number Diff line number Diff line change 3737 'Natural Language :: English' ,
3838 'Intended Audience :: Developers' ,
3939 'Intended Audience :: Information Technology' ,
40- 'Intended Audience :: Legal Industry' ,
41- 'Intended Audience :: System Administrators' ,
4240 'Topic :: Software Development' ,
4341 'Topic :: Software Development :: Documentation' ,
4442 'Topic :: Software Development :: Quality Assurance' ,
You can’t perform that action at this time.
0 commit comments