mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Replace unnecessary use of pop()
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user