Fix a H302 pep error in the api

part of blueprint rest-api-base

Change-Id: Icb22572302a98ae43772fd3ed31225cb55bd8b9a
This commit is contained in:
Angus Salkeld 2013-11-14 20:28:45 +11:00
parent 25950a9bde
commit 8cd2ffb226

View File

@ -14,8 +14,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import pecan
from oslo.config import cfg
from pecan import make_app
# Register options for the service
API_SERVICE_OPTS = [
@ -43,7 +44,7 @@ def setup_app(config):
app_conf = dict(config.app)
return make_app(
return pecan.make_app(
app_conf.pop('root'),
logging=getattr(config, 'logging', {}),
**app_conf