mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 05:35:58 +00:00
Merge pull request #8428 from ThomasWaldmann/tags-fixes
fixes for tags infrastructure PR
This commit is contained in:
commit
2a01d29cda
2 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,10 @@ class ArchiveItem(PropDict):
|
|||
@comment.setter
|
||||
def comment(self, val: str) -> None: ...
|
||||
@property
|
||||
def tags(self) -> List[str]: ...
|
||||
@tags.setter
|
||||
def tags(self, val: List[str]) -> None: ...
|
||||
@property
|
||||
def chunker_params(self) -> Tuple: ...
|
||||
@chunker_params.setter
|
||||
def chunker_params(self, val: Tuple) -> None: ...
|
||||
|
|
|
@ -161,4 +161,5 @@ def upgrade_archive_metadata(self, *, metadata):
|
|||
new_metadata["command_line"] = join_cmd(getattr(metadata, "cmdline"))
|
||||
if hasattr(metadata, "recreate_cmdline"):
|
||||
new_metadata["recreate_command_line"] = join_cmd(getattr(metadata, "recreate_cmdline"))
|
||||
new_metadata["tags"] = []
|
||||
return new_metadata
|
||||
|
|
Loading…
Reference in a new issue