Skip to content

Commit

Permalink
fix isort,PEP
Browse files Browse the repository at this point in the history
  • Loading branch information
weko3-dev02 committed Jul 31, 2020
1 parent b836ee8 commit 9418d12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

import sqlalchemy as sa
from alembic import op
from sqlalchemy.schema import Sequence, CreateSequence, \
DropSequence
from sqlalchemy.schema import CreateSequence, DropSequence, Sequence

# revision identifiers, used by Alembic.
revision = 'dbdbc1b19cf2'
Expand Down
2 changes: 1 addition & 1 deletion modules/invenio-oaiserver/invenio_oaiserver/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def append_error_info(e_record, **kwargs):
harvest_public_state, rec = WekoRecord.get_record_with_hps(
pid_object.object_uuid)
if not harvest_public_state or (
identify and not identify.outPutSetting):
identify and not identify.outPutSetting):
# Harvest is private
kwargs['identifier'] = pid.pid_value
append_error_info(e_record, **kwargs)
Expand Down

0 comments on commit 9418d12

Please sign in to comment.