From 3418bf61701c669f931cd70bb9e4cc5615cc369d Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Wed, 3 Jan 2024 14:20:15 -0500 Subject: [PATCH] Replace unnecessary use of pop() --- lib/sshyp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 2834ecd..16179da 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -627,7 +627,7 @@ if __name__ == "__main__": entry_name = arguments[0].strip('/') # determine whether to show passwords in entry previews if arg_count > 1 and arguments[arg_count-1] in ('--show', '-s'): - arguments.pop() + del arguments[-1] arg_count -= 1 pass_show = True else: