File remove-deprecation-warning.patch of Package python-glanceclient.2398
--- glanceclient/client.py
+++ glanceclient/client.py
@@ -19,12 +19,6 @@
def Client(version=None, endpoint=None, *args, **kwargs):
- if version is not None:
- warnings.warn(("`version` keyword is being deprecated. Please pass the"
- " version as part of the URL. "
- "http://$HOST:$PORT/v$VERSION_NUMBER"),
- DeprecationWarning)
-
endpoint, url_version = utils.strip_version(endpoint)
if not url_version and not version: