Skip to content

Commit

Permalink
rm debugging info
Browse files Browse the repository at this point in the history
  • Loading branch information
zwimer committed Dec 6, 2022
1 parent 32b0f49 commit 5462af3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions delayed_rm/delayed_rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import os


__version__ = "2.2.3"
__version__ = "2.2.4"


#
Expand Down Expand Up @@ -191,8 +191,6 @@ def cli() -> None:
"""
delayed_rm CLI
"""
with open("/tmp/qqq", "a") as f:
f.write("normal: " + str(sys.argv) + "\n")
sys.exit(main(*sys.argv))


Expand All @@ -207,8 +205,6 @@ def _secret_cli():
This CLI will only active if argv was intentionally configured to do so
This entrypoint is for the spawned process to act
"""
with open("/tmp/qqq", "a") as f:
f.write("secret: " + str(sys.argv) + "\n")
try:
if len(sys.argv) == 4 and sys.argv[1] == _Secret.value:
if os.environ.get(_Secret.key, None) == _Secret.value:
Expand Down

0 comments on commit 5462af3

Please sign in to comment.