Skip to content

Commit cd412ea

Browse files
author
Nicolas Harraudeau
committed
annotations: PEP8 code style improvements
Signed-off-by: Nicolas Harraudeau <[email protected]>
1 parent fa683f8 commit cd412ea

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

invenio/modules/annotations/views.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,24 @@
1919

2020
from urlparse import urlsplit
2121

22-
from flask import current_app, Blueprint, render_template, request, redirect, \
23-
flash, jsonify, url_for, g, abort
24-
from flask_login import login_required, current_user
25-
from sqlalchemy.event import listen
22+
from flask import Blueprint, abort, current_app, flash, g, jsonify, redirect, \
23+
render_template, request, url_for
24+
25+
from flask_login import current_user, login_required
2626

2727
from invenio.base.globals import cfg
2828
from invenio.base.i18n import _
2929
from invenio.modules.comments.models import CmtRECORDCOMMENT
3030
from invenio.modules.comments.views import blueprint as comments_blueprint
3131
from invenio.modules.records.views import request_record
3232

33+
from sqlalchemy.event import listen
34+
3335
from .api import add_annotation, get_annotations, get_count
3436
from .forms import WebPageAnnotationForm, WebPageAnnotationFormAttachments
35-
from .noteutils import get_note_title, prepare_notes, note_is_collapsed, \
36-
get_original_comment
37+
from .noteutils import get_note_title, get_original_comment, \
38+
note_is_collapsed, prepare_notes
39+
3740
from .receivers import extract_notes
3841

3942
blueprint = Blueprint('annotations',

0 commit comments

Comments
 (0)