Skip to content

Commit

Permalink
Move "control" deletion in IoBundle.reset() back to clear() since the
Browse files Browse the repository at this point in the history
memory control file is effectively and input.
  • Loading branch information
EC2 Default User committed Mar 9, 2021
1 parent 1e65970 commit 3b790c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calcloud/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,12 +533,12 @@ def reset(self, ids="all"):
"""Delete outputs, messages, and control files."""
self.outputs.delete(ids)
self.messages.delete(ids)
self.control.delete(ids)
self.xdata.delete(ids)

def clear(self, ids="all"):
"""Delete every S3 file managed by this IoBundle."""
self.reset(ids)
self.control.delete(ids)
self.inputs.delete(ids)


Expand Down

0 comments on commit 3b790c6

Please sign in to comment.