freezer/freezer
Caihui 19aae78daf Fix bug "AttributeError: 'generator' object has no attribute 'next'"
1. the bug:
   Captured traceback:
   ~~~~~~~~~~~~~~~~~~~
	Traceback (most recent call last):

	File "/opt/stack/freezer/freezer/tests/unit/scheduler/test_utils.py", line 53, in test_find_config_files_path
	ret = utils.find_config_files(temp_path)

	File "/opt/stack/freezer/freezer/scheduler/utils.py", line 53, in find_config_files
	for fname in os.walk(expanded_path).next()[2]:

	AttributeError: 'generator' object has no attribute 'next'

2. fix:
To get iterobject next element  is  changed to next(iterobject,defalt) in python3.x.

Change-Id: I558bbfecb4a9670a10b1fc649821d88619b7917c
2020-06-30 01:58:27 -07:00
..
common Stop to use the __future__ module. 2020-06-02 20:13:06 +02:00
engine Fix bug in python3.x: 'bytes' object has no attribute 'format' 2020-06-30 00:21:34 -07:00
exceptions Fix license boilerplates 2018-05-04 14:53:13 +00:00
lib Remove six usage from freezer package 2020-01-22 03:52:35 -08:00
mode Remove six usage from freezer package 2020-01-22 03:52:35 -08:00
openstack Remove keystone v2 related code 2020-06-23 20:08:46 -07:00
scheduler Fix bug "AttributeError: 'generator' object has no attribute 'next'" 2020-06-30 01:58:27 -07:00
scripts Updating HP Copyright label 2015-08-21 14:19:39 +01:00
snapshot fixed an issue that null string exists in mountpoint list 2020-04-24 00:55:12 +08:00
storage Remove six usage from freezer package 2020-01-22 03:52:35 -08:00
tests Fix bug "AttributeError: 'generator' object has no attribute 'next'" 2020-06-30 01:58:27 -07:00
utils Remove six usage from freezer package 2020-01-22 03:52:35 -08:00
__init__.py Migrating documentation to the new style 2017-09-14 10:13:46 -06:00
job.py Update "if...if..." to "if...elif...else..." in BackupJob._validata() 2020-06-17 23:34:02 -07:00
main.py Force the buffer to flush after each print 2020-06-28 23:01:47 -07:00