Change __all__ list to tuple
Currently pep257 is throwing a warning for the pep8 check with an error that __all__ is defined as a list instead of an immutable tupel. This changes both instances of a list to a tuple and the warning message is no longer emitted. Change-Id: Ia7c3f0ad99ecf0e1db4ff4165beed0d0ef09bf58
This commit is contained in:
parent
d8baf3c6ab
commit
870428e1bd
|
@ -15,6 +15,6 @@
|
|||
from keystone.receipt import provider
|
||||
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"provider",
|
||||
]
|
||||
)
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
from keystone.receipt.providers.fernet.core import Provider
|
||||
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"Provider",
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue