Fix __all__ module attributes
They should be iterables containing strings. Closes-bug: #1609853 Change-Id: I1d0e044851323a9899b347b893f95a436e2a45aa
This commit is contained in:
parent
bba1309647
commit
fd9614dbb2
@ -179,4 +179,4 @@ class Controller(rest.RestController):
|
||||
return super(Controller, self)._route(args)
|
||||
|
||||
|
||||
__all__ = (Controller)
|
||||
__all__ = ('Controller',)
|
||||
|
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user