Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def tcl_package_require_caas():
if 'XBU_SHARED' in os.environ \
and os.environ['XBU_SHARED'] not in \
tcl.cast_list(tcl.get_var('::auto_path'), item_cast=tclstr):
tcl.call('lappend', '::auto_path', os.environ['XBU_SHARED'])
tcl.call('package', 'require', 'cAAs')
def tcl_package_require_caas():
if 'XBU_SHARED' in os.environ \
and os.environ['XBU_SHARED'] not in \
tcl.cast_list(tcl.get_var('::auto_path'), item_cast=tclstr):
tcl.call('lappend', '::auto_path', os.environ['XBU_SHARED'])
tcl.call('package', 'require', 'cAAs')
def tcl_package_require_caas_parsers():
tcl_package_require_caas()
tcl.call('package', 'require', 'IOS_Parser')
tcl.call('package', 'require', 'IOSXE_Parser')
tcl.call('package', 'require', 'NXOS_Parser')
tcl.call('package', 'require', 'IOSXR_Parser')
tcl.call('package', 'require', 'MULTIOS_Parser')
def tcl_package_require_caas_parsers():
tcl_package_require_caas()
tcl.call('package', 'require', 'IOS_Parser')
tcl.call('package', 'require', 'IOSXE_Parser')
tcl.call('package', 'require', 'NXOS_Parser')
tcl.call('package', 'require', 'IOSXR_Parser')
tcl.call('package', 'require', 'MULTIOS_Parser')
def tcl_package_require_caas_parsers():
tcl_package_require_caas()
tcl.call('package', 'require', 'IOS_Parser')
tcl.call('package', 'require', 'IOSXE_Parser')
tcl.call('package', 'require', 'NXOS_Parser')
tcl.call('package', 'require', 'IOSXR_Parser')
tcl.call('package', 'require', 'MULTIOS_Parser')
def tcl_package_require_caas_parsers():
tcl_package_require_caas()
tcl.call('package', 'require', 'IOS_Parser')
tcl.call('package', 'require', 'IOSXE_Parser')
tcl.call('package', 'require', 'NXOS_Parser')
tcl.call('package', 'require', 'IOSXR_Parser')
tcl.call('package', 'require', 'MULTIOS_Parser')