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/generic | |
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/generic')
-rw-r--r-- | keystoneclient/generic/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/generic/__init__.py b/keystoneclient/generic/__init__.py index ed59d72..7456921 100644 --- a/keystoneclient/generic/__init__.py +++ b/keystoneclient/generic/__init__.py @@ -1,4 +1,4 @@ -__all__ = [ +__all__ = ( 'client', -] +) |