Skip to content
Snippets Groups Projects
Commit a39ad4ed authored by gabriele-h's avatar gabriele-h
Browse files

Minor corrections _raise_error_sru

parent 66422776
Branches
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ class RecordRetriever:
sru_url = self._create_url(alma_query, startrecord)
sru_xml = self._response_to_xml(sru_url)
self._raise_error_sru()
self._raise_error_sru(sru_xml)
xml_list.extend(self._extract_marc_xml(sru_xml))
return xml_list
......
......@@ -16,6 +16,7 @@ class OnbRecordRetriever(almasru.RecordRetriever):
self.namespaces = {
'srw': 'http://www.loc.gov/zing/srw/',
'diag': 'http://www.loc.gov/zing/srw/diagnostic',
'marc': 'http://www.loc.gov/MARC21/slim'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment