Skip to content

Commit

Permalink
Remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmcalpine committed Jun 3, 2024
1 parent 12ce086 commit 65747de
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dataregistry/registrar/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,11 @@ def register(
) = self._handle_data(
relative_path, old_location, owner, owner_type, verbose
)
valid_status = 1
else:
dataset_organization = location_type
num_files = 0
total_size = 0
ds_creation_date = None
valid_status = 0

# Case where use is overwriting the dateset `creation_date`
if creation_date:
Expand Down

0 comments on commit 65747de

Please sign in to comment.