mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
tuples don't have pop
This commit is contained in:
parent
55ea80ee6c
commit
f553be764e
@ -416,7 +416,7 @@ def flopen(*args, **kwargs):
|
||||
'''
|
||||
Shortcut for fopen with lock and context manager.
|
||||
'''
|
||||
filename = args.pop(0)
|
||||
filename, args = args[0], args[1:]
|
||||
writing = 'wa'
|
||||
with fopen(filename, *args, **kwargs) as f_handle:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user