Skip to content

Instantly share code, notes, and snippets.

Created May 28, 2013 18:11
Show Gist options
  • Save anonymous/5664828 to your computer and use it in GitHub Desktop.
Save anonymous/5664828 to your computer and use it in GitHub Desktop.
New logging logic for JAM2
#-------------------------------------------------------------------------
# Set up access mappings here.
#-------------------------------------------------------------------------
line_updated = False
if device_cutsheet_manager != None:
line_updated = device_cutsheet_manager.set_access_info(lineinfo)
if gr303_cutsheet_manager != None:
line_updated = gr303_cutsheet_manager.set_access_info(lineinfo)
if not line_updated:
log_msg(LOG_ALERT,"Cutsheet lineinfo update failed, DN %s." % lineinfo[si.DN])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment