Skip to content

Instantly share code, notes, and snippets.

@ktbyers
Created April 26, 2017 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ktbyers/e59bbd2f51502e8a1d85d6857d2153ad to your computer and use it in GitHub Desktop.
Save ktbyers/e59bbd2f51502e8a1d85d6857d2153ad to your computer and use it in GitHub Desktop.
Python line wrapping
from snmp_helper import snmp_extract, snmp_get_oid_v3
last_changed = snmp_extract(snmp_get_oid_v3(snmp_device,
snmp_user, oid=oid,
auth_proto=auth_protocol,
encrypt_proto=encrypt_protocol,
display_errors=False))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment