mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Unmark dirty role after successful repository.write(rolename)
This commit is contained in:
parent
0e6e3418d2
commit
ab35f07583
1 changed files with 3 additions and 0 deletions
|
|
@ -341,6 +341,9 @@ def write(self, rolename, consistent_snapshot=False, increment_version_number=Tr
|
|||
filenames=filenames,
|
||||
allow_partially_signed=True,
|
||||
increment_version_number=increment_version_number)
|
||||
|
||||
# Ensure 'rolename' is no longer marked as dirty after the successful write().
|
||||
tuf.roledb.unmark_dirty([rolename])
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue