Skip to content

Commit 10916a5

Browse files
committed
Merge branch 'attribution-generation' into develop
2 parents ee42aa3 + c9cbddd commit 10916a5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

about_code_tool/about.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,9 @@ def __init__(self, input_path):
949949
self.abouts = [AboutFile(f)
950950
for f in self._collect_about_files(self.absolute_path)]
951951

952+
#self.create_about_objects_from_files()
953+
#self.extract_about_data_from_objects()
954+
952955
self.summarize_issues()
953956

954957
def __iter__(self):

about_code_tool/genattrib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ def main(args, opts):
162162
sys.exit(errno.EEXIST)
163163

164164
if not exists(output_path) or (exists(output_path) and overwrite):
165-
collector = AboutCollector(input_path, output_path, opt_arg_num)
165+
collector = AboutCollector(input_path)
166166
sublist = None if not component_subset_path else component_subset_to_sublist(component_subset_path)
167-
attrib_str = collector.generate_attribution( sublist = sublist )
167+
attrib_str = collector.generate_attribution( limit_to = sublist )
168168
with open(output_path, "w") as f:
169169
f.write(attrib_str)
170170

0 commit comments

Comments
 (0)