mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24710 from rallytime/pylint-fix
Fix pylint failure on develop
This commit is contained in:
commit
65dd8b664c
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ def _read_file(path):
|
|||
# without newlines character. http://stackoverflow.com/questions/12330522/reading-a-file-without-newlines
|
||||
return contents.read().splitlines()
|
||||
except Exception:
|
||||
return [] # Return empty list for type consistency
|
||||
return [] # Return empty list for type consistency
|
||||
|
||||
|
||||
def _write_file_iface(iface, data, folder, pattern):
|
||||
|
|
Loading…
Add table
Reference in a new issue