diff --git a/osc_lib/api/api.py b/osc_lib/api/api.py index 32b13dc..93db313 100644 --- a/osc_lib/api/api.py +++ b/osc_lib/api/api.py @@ -28,10 +28,13 @@ class BaseAPI(object): Encapsulate the translation between keystoneauth1.session.Session and requests.Session in a single layer: + * Restore some requests.session.Session compatibility; keystoneauth1.session.Session.request() has the method and url arguments swapped from the rest of the requests-using world. - * Provide basic endpoint handling when a Service Catalog is not available. + * Provide basic endpoint handling when a Service Catalog is not + available. + """ # Which service are we? Set in API-specific subclasses diff --git a/setup.cfg b/setup.cfg index 8e04087..4f99522 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ packages = source-dir = doc/source build-dir = doc/build all_files = 1 -#warning-is-error = 1 +warning-is-error = 1 [pbr] autodoc_index_modules = True