Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
replace = r"\1<%s/script/start.htm>\2" % (NIFCLOUD_DOC_BASE)
else:
replace = r"\1<%s/%s/%s.htm>\2" % (NIFCLOUD_DOC_BASE,
self._service_name,
operation_name)
method_intro = section.get_section('method-intro')
replaced_text = re.sub(
r"([\s\S]+)<.+>(.+)$",
replace,
method_intro.getvalue().decode('utf8')
).replace('AWS', 'NIFCLOUD')
method_intro.clear_text()
method_intro.push_write(replaced_text)
service.ClientDocumenter = ClientDocumenter