From fd9614dbb2d4b97826e8c3ae022a105bd7073b08 Mon Sep 17 00:00:00 2001 From: Vladyslav Drok Date: Thu, 4 Aug 2016 18:19:14 +0300 Subject: [PATCH] Fix __all__ module attributes They should be iterables containing strings. Closes-bug: #1609853 Change-Id: I1d0e044851323a9899b347b893f95a436e2a45aa --- ironic/api/controllers/v1/__init__.py | 2 +- ironic/api/middleware/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ironic/api/controllers/v1/__init__.py b/ironic/api/controllers/v1/__init__.py index 493be13c7f..cda8e41b87 100644 --- a/ironic/api/controllers/v1/__init__.py +++ b/ironic/api/controllers/v1/__init__.py @@ -179,4 +179,4 @@ class Controller(rest.RestController): return super(Controller, self)._route(args) -__all__ = (Controller) +__all__ = ('Controller',) diff --git a/ironic/api/middleware/__init__.py b/ironic/api/middleware/__init__.py index 609b4ed986..385547d70d 100644 --- a/ironic/api/middleware/__init__.py +++ b/ironic/api/middleware/__init__.py @@ -19,5 +19,5 @@ from ironic.api.middleware import parsable_error ParsableErrorMiddleware = parsable_error.ParsableErrorMiddleware AuthTokenMiddleware = auth_token.AuthTokenMiddleware -__all__ = (ParsableErrorMiddleware, - AuthTokenMiddleware) +__all__ = ('ParsableErrorMiddleware', + 'AuthTokenMiddleware')