Skip to content
Permalink
Browse files

Fix OAI Identify

  • Loading branch information
jochenklar committed Nov 22, 2019
1 parent 7bb9871 commit b58d369f071a9dc945895113d988121e54c0edf6
Showing with 3 additions and 4 deletions.
  1. +2 −3 .travis.yml
  2. +1 −1 daiquiri/oai/renderers.py
@@ -7,16 +7,15 @@ python:
- 3.7

addons:
mariadb: '10.1'
mariadb: '10.3'
postgresql: '10'

env:
- DB=mysql
- DB=postgres

before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libmariadbd-dev libmariadbclient-dev
- sudo apt-get -qq update

install:
- pip install --upgrade pip setuptools wheel
@@ -50,7 +50,7 @@ def render_get_record(self, item):
def render_identify(self, repository_metadata, base_url):
self.start('Identify')
self.node('repositoryName', {}, repository_metadata.get('repository_name'))
self.node('baseUrl', {}, base_url)
self.node('baseURL', {}, base_url)
self.node('protocolVersion', {}, '2.0')
self.node('adminEmail', {}, repository_metadata['admin_email'])
self.node('earliestDatestamp', {}, repository_metadata.get('earliest_datestamp'))

0 comments on commit b58d369

Please sign in to comment.
You can’t perform that action at this time.