nova/nova
Victor Stinner 2daf8c38ad Fix Python 3 issues in nova.db.sqlalchemy
* Replace dict(obj.iteritems()) with dict(obj) where obj is a dictionary
  or an oslo.db object
* Replace obj.iteritems() with obj.items() where obj is a dictionary:
  obj.items() works on Python 2 and Python 3.
* Replace filter() and map() with list-comprehension using if when a list is
  expected. On Python 3, filter() and map() return an iterator.
* Replace obj.keys() with list(obj.keys()) when a list is expected.
  Replace obj.keys()[0] with list(obj.keys())[0]. On Python 3,
  dict.keys() now returns an iterator.
* Replace (int, long) with six.integer_types
* Get the name of a function using the __name__ attribute, instead of
  the func_name attribute. The func_name attribute was removed
  in Python 3.
* InstanceTypeTestCase: use dict.update() to combine dictionaries
  instead of using dict.items()+reduce()+dict()
* matchers.py: replace StringIO.StringIO with six.StringIO.
* tox.ini: add nova.tests.unit.db.test_db_api to Python 3.4

Blueprint nova-python3
Change-Id: Iae4f6d971818d5b38e838a83753a0707e954bb04
2015-06-30 07:06:54 -07:00
..
CA
api Merge "Add microversion to allow server search option ip6 for non-admin" 2015-06-26 23:58:33 +00:00
cells Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
cert Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
cloudpipe
cmd Check mac for instance before disassociate in release_fixed_ip 2015-06-24 06:33:36 -07:00
compute Merge "Use oslo-config-generator instead of generate_sample.sh" 2015-06-25 13:23:02 +00:00
conductor Merge "Send Instance object to cells instance_update_at_top" 2015-06-12 01:33:13 +00:00
console Fix noVNC console access for an IPv6 setup 2015-06-15 09:23:25 +00:00
consoleauth Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
db Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
hacking Merge "virt: convert VFS API to use nova.virt.image.model" 2015-06-11 13:49:32 +00:00
image Use oslo_config choices support 2015-06-01 12:19:29 -07:00
ipv6
keymgr
locale Imported Translations from Transifex 2015-06-22 06:10:05 +00:00
network Merge "Raise invalid input if use invalid ip for network to attach interface" 2015-06-25 22:58:51 +00:00
objects Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
objectstore Remove openstack/common/versionutils module 2015-06-15 20:40:16 +00:00
openstack Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
pci Merge "Cleanups for pci stats in preparation for RT using ComputeNode" 2015-06-03 03:02:57 +00:00
rdp
scheduler Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
servicegroup fix "down" nova-compute service spuriously marked as "up" 2015-06-10 13:18:06 -06:00
spice
storage Fix multipath device discovery when UFN is enabled. 2015-04-02 13:23:49 +01:00
tests Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
virt Merge "Fix typos detected by toolkit misspellings." 2015-06-27 08:40:25 +00:00
vnc Register the vnc config options under group 'vnc' 2015-06-22 13:39:00 -04:00
volume volume: log which encryptor class is being used 2015-06-09 11:50:13 -07:00
wsgi Helper scripts for running under Apache2 2015-05-08 09:59:58 -04:00
__init__.py
availability_zones.py Replace dict(obj.iteritems()) with dict(obj) 2015-05-21 08:35:37 -07:00
baserpc.py
block_device.py Fix wrong check when use image in local 2015-06-18 15:06:00 +08:00
config.py Remove references to suds 2015-06-15 16:32:23 +03:00
context.py Stop spamming logs when creating context 2015-03-13 17:59:47 -04:00
crypto.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
debugger.py
exception.py Make readonly field tests use exception from oslo.versionedobjects 2015-06-22 11:46:20 +00:00
filters.py Remove use of builtin name 2015-05-28 16:23:49 -05:00
hooks.py
i18n.py
loadables.py
manager.py
netconf.py
notifications.py Handle InstanceNotFound when sending instance update notification 2015-06-11 12:26:00 -07:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
paths.py
policy.py
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py
safe_utils.py Avoid indexing into an empty list in getcallargs 2015-04-10 13:10:16 -04:00
service.py Convert service and servicegroup to objects 2015-04-13 19:05:55 +02:00
test.py test: add MatchType helper class as equivalent of mox.IsA 2015-06-17 12:16:43 +01:00
utils.py Merge "Let soft-deleted instance_system_metadata readable" 2015-06-25 12:23:03 +00:00
version.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
weights.py Skip only one host weight calculation 2015-05-05 11:40:09 +08:00
wsgi.py Remove usage of WritableLogger from oslo_log 2015-06-18 18:47:42 +00:00