Some variables renamed for a better comprehension

Thus:
* id becomes uuid
* report_id becomes report_uuid bot to mess with the report id of the plugin
* The version in setup.cfg has been removed

Change-Id: I0c9877202926d78e1dfc329028921c806fd9784b
This commit is contained in:
Romain Ziba 2015-06-12 10:26:01 +02:00
parent ad94abdb7e
commit eb42bb8d58
2 changed files with 4 additions and 5 deletions

View File

@ -36,11 +36,11 @@ class SecurityReportManager(v1_base.BaseManager):
def list(self):
return self._list(self.url, 'security_reports')
def get(self, report_id):
def get(self, report_uuid):
return self._get(self.url + '/{id}'.format(id=report_id))
return self._get(self.url + '/{uuid}'.format(uuid=report_uuid))
def put(self, report_id, ticket_id):
return self._update(self.url + '/{id}'.format(id=report_id) +
def put(self, report_uuid, ticket_id):
return self._update(self.url + '/{uuid}'.format(uuid=report_uuid) +
'/tickets/' + '{ticket_id}'.format(
ticket_id=ticket_id))

View File

@ -5,7 +5,6 @@ description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
version = 1.2-1
home-page = http://www.openstack.org/
classifier =
Environment :: OpenStack