Skip to content

Commit

Permalink
continued development checkpoint / backup
Browse files Browse the repository at this point in the history
  • Loading branch information
ndenny committed Apr 4, 2025
1 parent 503ace7 commit a344298
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/Bastion/Vaults/Common.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ def push(self, asset, basis = None, **kwargs):
movement = self.put(packing.record.tarp, packing.record.tag)
receipt.append(movement, 'moved')

#-- clean up!
if packing.record.tarp.exists():
packing.record.tarp.unlink()

if movement.failed:
return request.failed( receipt )
else:
#-- clean up!
if packing.record.tarp.exists():
packing.record.tarp.unlink()
return request.succeeded( receipt )

def pull(self, ark, **kwargs):
Expand Down

0 comments on commit a344298

Please sign in to comment.