Remove unused definitiion

This commit is contained in:
Thomas S Hatch 2012-11-14 18:33:04 -07:00
parent 3194a71ca1
commit 9b1deecd7a

View File

@ -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))