diff options
author | Dolph Mathews <dolph.mathews@gmail.com> | 2015-10-01 16:56:33 +0000 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2015-10-01 18:18:13 +0000 |
commit | eb77abd77a25baa556de4df527404b907748d3c6 (patch) | |
tree | 3dc4977cc9ca7db44e1f3259948c76e8559264eb /keystoneclient/fixture | |
parent | eb1dbe8e5a20700a64de50f1d85a972a00c23319 (diff) | |
download | python-keystoneclient-eb77abd77a25baa556de4df527404b907748d3c6.tar.gz |
Make __all__ immutable
Using a mutable type implies that it's acceptable for the set of
publicly-accessible attributes to be mutated at runtime, which defeats
their intended purpose of documenting the public interface. Tuples are
immutable.
Change-Id: Ib3ab93224ba240040b08ece481ef5ba620c3f658
Diffstat (limited to 'keystoneclient/fixture')
-rw-r--r-- | keystoneclient/fixture/__init__.py | 4 | ||||
-rw-r--r-- | keystoneclient/fixture/discovery.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/keystoneclient/fixture/__init__.py b/keystoneclient/fixture/__init__.py index 8ddb43a..9e4de4b 100644 --- a/keystoneclient/fixture/__init__.py +++ b/keystoneclient/fixture/__init__.py @@ -32,11 +32,11 @@ V2Token = v2.Token V3Token = v3.Token V3FederationToken = v3.V3FederationToken -__all__ = ['DiscoveryList', +__all__ = ('DiscoveryList', 'FixtureValidationError', 'V2Discovery', 'V3Discovery', 'V2Token', 'V3Token', 'V3FederationToken', - ] + ) diff --git a/keystoneclient/fixture/discovery.py b/keystoneclient/fixture/discovery.py index 50a6bce..d596e2d 100644 --- a/keystoneclient/fixture/discovery.py +++ b/keystoneclient/fixture/discovery.py @@ -16,10 +16,10 @@ from oslo_utils import timeutils from keystoneclient import utils -__all__ = ['DiscoveryList', +__all__ = ('DiscoveryList', 'V2Discovery', 'V3Discovery', - ] + ) _DEFAULT_DAYS_AGO = 30 |