Skip to content

Commit cdbf041

Browse files
authored
Merge pull request #28 from AyanSinhaMahapatra/2653-add-output-format-version-to-header
Add output data format version to header
2 parents 2e98f92 + 1b79e15 commit cdbf041

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/commoncode/resource.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class Header(object):
154154
notice = String(default='', help='Notice text for this tool.')
155155
start_timestamp = String(help='Start timestamp for this header.')
156156
end_timestamp = String(help='End timestamp for this header.')
157+
output_format_version = String(help='Version for the scancode output data format, such as v1.1 .')
157158
duration = String(help='Scan duration in seconds.')
158159
message = String(help='Message text.')
159160
errors = List(help='List of error messages.')
@@ -175,6 +176,7 @@ def from_dict(cls, **kwargs):
175176
'notice',
176177
'start_timestamp',
177178
'end_timestamp',
179+
'output_format_version',
178180
'duration',
179181
'message',
180182
'errors',

0 commit comments

Comments
 (0)