~openlp-core/openlp/trunk

« back to all changes in this revision

Viewing changes to openlp/core/api/http/__init__.py

  • Committer: Tim Bentley
  • Date: 2018-01-01 17:18:46 UTC
  • mfrom: (2802.1.10 fixes)
  • Revision ID: tim.bentley@gmail.com-20180101171846-ua05yqpog4a1e321
Update the year to 2018
Add some missing copyright files
Reorder and fix the imports for all files.
Fix a timing issue with the mac build which makes it fail all the time.

lp:~trb143/openlp/textcleanups (revision 2812)
https://ci.openlp.io/job/Branch-01-Pull/2406/                          [SUCCESS]
https://ci.openlp.io/job/Branch-02a-Linux-Tests/2307/                  [SUCCESS]
https://ci.openlp.io/job/Branch-02b-macOS-Tests/102/                   [SUCCESS]
https://ci.openlp.io/job/Branch-03...

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2017 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2018 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
22
22
 
23
23
import base64
24
24
from functools import wraps
 
25
 
25
26
from webob import Response
26
27
 
 
28
from openlp.core.api.http.wsgiapp import WSGIApplication
27
29
from openlp.core.common.settings import Settings
28
 
from openlp.core.api.http.wsgiapp import WSGIApplication
29
30
from .errors import NotFound, ServerError, HttpError
30
31
 
31
32
application = WSGIApplication('api')