Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ def get_configuration(self, database='committed', format='text',
if model is None and config.tag != 'configuration-text':
self.fail_json(msg='Unexpected XML tag returned. '
'Configuration is: %s' %
(etree.tostring(config, pretty_print=True)))
(self.etree.tostring(config, pretty_print=True)))
return_val = (config.text, None)
elif format == 'set':
if not isinstance(config, self.etree._Element):
Expand All @@ -1267,7 +1267,7 @@ def get_configuration(self, database='committed', format='text',
if model is None and config.tag != 'configuration-set':
self.fail_json(msg='Unexpected XML tag returned. '
'Configuration is: %s' %
(etree.tostring(config, pretty_print=True)))
(self.etree.tostring(config, pretty_print=True)))
return_val = (config.text, config.text.splitlines())
elif format == 'xml':
if not isinstance(config, self.etree._Element):
Expand Down