mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-10-27 12:40:02 -04:00
Replace unnecessary use of pop()
This commit is contained in:
1 parent
dbf3b35237
commit
3418bf6170
1 file changed
+1
-1
+1
-1
@@ -627,7 +627,7 @@ if __name__ == "__main__":
|
|||||||
entry_name = arguments[0].strip('/')
|
entry_name = arguments[0].strip('/')
|
||||||
# determine whether to show passwords in entry previews
|
# determine whether to show passwords in entry previews
|
||||||
if arg_count > 1 and arguments[arg_count-1] in ('--show', '-s'):
|
if arg_count > 1 and arguments[arg_count-1] in ('--show', '-s'):
|
||||||
arguments.pop()
|
del arguments[-1]
|
||||||
arg_count -= 1
|
arg_count -= 1
|
||||||
pass_show = True
|
pass_show = True
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user