Skip to content

Commit

Permalink
archive: store copy archive parameters as booleans in archiver_metada…
Browse files Browse the repository at this point in the history
…ta.json.
  • Loading branch information
pjbriggs committed Dec 11, 2024
1 parent fbdbf19 commit e09fde8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ngsarchiver/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -2363,9 +2363,9 @@ def make_copy(d, dest, replace_symlinks=False,
'type': CopyArchiveDirectory.__name__,
'user': getpass.getuser(),
'creation_date': time.strftime(DATE_FORMAT),
'replace_symlinks': format_bool(replace_symlinks),
'transform_broken_symlinks': format_bool(transform_broken_symlinks),
'follow_dirlinks': format_bool(follow_dirlinks),
'replace_symlinks': replace_symlinks,
'transform_broken_symlinks': transform_broken_symlinks,
'follow_dirlinks': follow_dirlinks,
'ngsarchiver_version': get_version(),
}
# Write archive contents to JSON file
Expand Down

0 comments on commit e09fde8

Please sign in to comment.