mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Remove unused definitiion
This commit is contained in:
parent
3194a71ca1
commit
9b1deecd7a
@ -113,7 +113,7 @@ def persist(name, value, config='/etc/sysctl.conf'):
|
||||
# and it seems unnecessary to indent the below for
|
||||
# loop since it is a fairly large block of code.
|
||||
config_data = _fh.readlines()
|
||||
except (IOError, OSError) as exc:
|
||||
except (IOError, OSError):
|
||||
msg = 'Could not read from file: {0}'
|
||||
raise CommandExecutionError(msg.format(config))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user