3 Commits

Author SHA1 Message Date
Luong Anh Tuan
649f3a1d70 Replace six.iteritems() with .items()
Change-Id: I8e89ea35cff8f1f1a5013fa8e30a0d36f5c17c81
2016-11-22 11:13:03 +07:00
John L. Villalovos
868082af61 Replace HTTP 'magic numbers' with constants
Replace HTTP 'magic numbers' (also known as unnamed numerical constants)
with constants provided by the http_client/httplib library.

For example, use 'http_client.OK' instead of '200'

Change-Id: I7fc70ec0c5fee128054c026a78671d07c48d5eaf
2016-02-04 16:35:31 -08:00
Lin Tan
4d966622ef Sync with oslo-incubator
According to the latest agreement in Oslo team, apiclient and
clituils will be removed from Oslo incubator. We should keep
the local copy by ourselfs:
1. rename openstack/common/apiclient to common/apiclient
2. Because Ironic only use base.py and exception.py, so delete others.
3. rename openstack/common/cliutils.py to common/clituils.py
4. Delete openstack/common/_i18n becuase we have common/i18n.py
5. Delete openstack folder because it is empty
6. Add related unit tests and add oslotest to test-requirements.

Change-Id: I9eecd0457e86e82e65db1d0bc9a4c5c0ed4bbf74
2015-11-17 09:22:53 -08:00