summaryrefslogtreecommitdiff
path: root/keystoneclient/__init__.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2015-10-01 16:56:33 +0000
committerDolph Mathews <dolph.mathews@gmail.com>2015-10-01 18:18:13 +0000
commiteb77abd77a25baa556de4df527404b907748d3c6 (patch)
tree3dc4977cc9ca7db44e1f3259948c76e8559264eb /keystoneclient/__init__.py
parenteb1dbe8e5a20700a64de50f1d85a972a00c23319 (diff)
downloadpython-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/__init__.py')
-rw-r--r--keystoneclient/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/__init__.py b/keystoneclient/__init__.py
index 96f32ab..ee848db 100644
--- a/keystoneclient/__init__.py
+++ b/keystoneclient/__init__.py
@@ -34,7 +34,7 @@ import pbr.version
__version__ = pbr.version.VersionInfo('python-keystoneclient').version_string()
-__all__ = [
+__all__ = (
# Modules
'generic',
'v2_0',
@@ -46,7 +46,7 @@ __all__ = [
'exceptions',
'httpclient',
'service_catalog',
-]
+)
class _LazyImporter(object):