PEP 8 Public and internal interfaces
Define which interfaces are public and which are internal based on PEP 8. For reference, PEP 8 section is here: http://www.python.org/dev/peps/pep-0008/#public-and-internal-interfaces Change-Id: I14233796b7838b78fbd355014478f3e326542966
This commit is contained in:
		@@ -17,3 +17,17 @@ import pbr.version
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__version__ = pbr.version.VersionInfo('python-keystoneclient').version_string()
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
    # Modules
 | 
			
		||||
    'generic',
 | 
			
		||||
    'v2_0',
 | 
			
		||||
    'v3',
 | 
			
		||||
 | 
			
		||||
    # Packages
 | 
			
		||||
    'access',
 | 
			
		||||
    'client',
 | 
			
		||||
    'exceptions',
 | 
			
		||||
    'httpclient',
 | 
			
		||||
    'service_catalog',
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
@@ -14,3 +14,8 @@
 | 
			
		||||
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 | 
			
		||||
#    License for the specific language governing permissions and limitations
 | 
			
		||||
#    under the License.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
    'exceptions',
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
    'client',
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,7 @@
 | 
			
		||||
# flake8: noqa
 | 
			
		||||
from keystoneclient.v2_0.client import Client
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
    'client',
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,7 @@
 | 
			
		||||
# flake8: noqa
 | 
			
		||||
from keystoneclient.v3.client import Client
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
    'client',
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
 | 
			
		||||
__all__ = [
 | 
			
		||||
]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user