Skip to content

Commit

Permalink
tuf.api: implement metadata.Targets.update()
Browse files Browse the repository at this point in the history
Signed-off-by: Teodora Sechkova <[email protected]>
  • Loading branch information
sechkova authored and joshuagl committed Jul 2, 2020
1 parent 37a235f commit db0f8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuf/api/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ def signable(self):
# Add or update metadata about the target.
# TODO: how to handle writing consistent targets?
def update(self, filename: str, fileinfo: JsonDict):
raise NotImplementedError()
self.targets[filename] = fileinfo

0 comments on commit db0f8a7

Please sign in to comment.