Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 696505864
  • Loading branch information
Martin Huschenbett authored and learned_optimization authors committed Nov 14, 2024
1 parent a7becc9 commit 8642ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion learned_optimization/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ def remove(path: str) -> bool:
"""Remove a file."""
if _path_on_gcp(path):
return tf.io.gfile.remove(path)
return shutil.rmtree(path)
return shutil.rmtree(path) # pytype: disable=bad-return-type

0 comments on commit 8642ee9

Please sign in to comment.