8 Commits

Author SHA1 Message Date
Gorka Eguileor
c022b73faf Fix pep8 errors
There are some PEP8 errors that are not caught by our gate because of
the pep8 package version installed by hacking.

This patch fixes E402, W503, and F999 erors from our codebase.

Change-Id: I0b86730b1493f161645a87c3daa91ec3d774d3b1
2017-03-15 13:42:49 +01:00
John Griffith
13702ce40c Make V3 the default and fixup version reporting
This adds in a version-list command that reports the
min/max versions of the Cinder API supported by this
version of the client, and also queries the Cinder API
V3 server to obtain min/max micro-versions and report
those as well.

In addition, we bump the default version of the client to
3.0, of course if you specify V2 in your rc file or on the
cmd line that works fine too.

I did run into one problem where I broke:
  cinder.tests.unit.test_shell:test_cinder_service_name

Seems to be some hidden trickery with a fake, fixture or
mock that I can't figure out.  For now I added a skip to
that test, but maybe somebody can point out the problem
during review.

Change-Id: I44e667c511d89de28af758a3c9ea1f812e682f18
2017-03-10 17:58:50 +00:00
Jay S. Bryant
803f0f69a6 Remove vim header
Making this change for python-cinderclient to be consistent
with Cinder.  The same change was made to Cinder via
commit ff3f2e5735f0d486b72b6881b05ace94d6d34d03 .

Partial-bug 1229324
Change-Id: I69fb960f499f0c9a9c9671d46d10170477cf6695
2014-02-12 10:18:09 -06:00
ZhiQiang Fan
5ad95e9fd2 Replace OpenStack LLC with OpenStack Foundation
NOTE:
* openstack/common/* should be synced from oslo, so i leave them
untouched.
* add (c) symbol for related lines, leave others untouched.

Change-Id: I46a87c7f248d3468b1fdf5661411962faf2fb875
Fixes-Bug: #1214176
2013-09-28 23:13:54 +08:00
Monty Taylor
aa2808337b Migrate to pbr.
Fixes bug 1179007.

Change-Id: I66b78ec4b5ba70a1bf1e375a5d1b7575a1879730
2013-05-20 14:32:22 -04:00
Monty Taylor
81cbbcc4e0 Update to latest oslo version code.
Removes the need for the versioninfo file, as now everything can be done via
pkg_resources.

Change-Id: Ice2ea2f99f5aacbd476075d12077b7287d824585
2013-02-04 15:20:58 +11:00
Monty Taylor
5adf791360 Align cinderclient version code.
Change-Id: I81d6a279a52656720626357a1c4ca8bb382ef1f8
2012-11-30 14:05:54 -08:00
Jenkins
471704df64 Initial split from python-novaclient. 2012-05-21 16:32:35 -04:00