diff options
author | Brant Knudson <bknudson@us.ibm.com> | 2015-12-29 18:38:01 -0600 |
---|---|---|
committer | Brant Knudson <bknudson@us.ibm.com> | 2015-12-29 18:38:14 -0600 |
commit | 1aaebf0fb9e4ac6b068a6e6b786b720af2562abb (patch) | |
tree | 662ea58087c321814835f6399ec4dd747cc726cc /keystoneclient/base.py | |
parent | 689e7d09e023f665c453d1fd7f1eb57ba10a0bb0 (diff) | |
download | python-keystoneclient-1aaebf0fb9e4ac6b068a6e6b786b720af2562abb.tar.gz |
Remove "deprecated" internal method
This method says it's deprecated but it's an internal method, so
there's no need to deprecate it, just remove it.
Change-Id: I916b4a5c9dc2320a4bff7f966fd0c7d5a4957ff9
Diffstat (limited to 'keystoneclient/base.py')
-rw-r--r-- | keystoneclient/base.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/keystoneclient/base.py b/keystoneclient/base.py index a03ecee..d199254 100644 --- a/keystoneclient/base.py +++ b/keystoneclient/base.py @@ -156,11 +156,6 @@ class Manager(object): resp, body = self.client.head(url, **kwargs) return resp.status_code == 204 - def _create(self, url, body, response_key, return_raw=False, **kwargs): - """Deprecated. Use `_post` instead. - """ - return self._post(url, body, response_key, return_raw, **kwargs) - def _post(self, url, body, response_key, return_raw=False, **kwargs): """Create an object. @@ -338,7 +333,7 @@ class CrudManager(Manager): @filter_kwargs def create(self, **kwargs): url = self.build_url(dict_args_in_out=kwargs) - return self._create( + return self._post( url, {self.key: kwargs}, self.key) |