-
-
Save mbrenig/5664858 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------- | |
# Set up access mappings here. | |
#------------------------------------------------------------------------- | |
line_updated = False | |
if device_cutsheet_manager != None: | |
# Try the device cutsheet manager first. | |
line_updated = device_cutsheet_manager.set_access_info(lineinfo) | |
if not line_updated and gr303_cutsheet_manager != None: | |
# Then try the gr303 cutsheet manager if line not found in device cutsheet. | |
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