)]}'
{"ironic_inspector/rules.py":[{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"db9443d5a51b38952b7a6322945c8ba65c12a1f8","unresolved":false,"context_lines":[{"line_number":208,"context_line":"                # NOTE(aarefiev): verify provided value with introspection"},{"line_number":209,"context_line":"                # data format specifications."},{"line_number":210,"context_line":"                # TODO(aarefiev): simple verify on import rule time."},{"line_number":211,"context_line":"                if type(value) \u003d\u003d str:"},{"line_number":212,"context_line":"                    try:"},{"line_number":213,"context_line":"                        act.params[formatted_param] \u003d value.format(data\u003ddata)"},{"line_number":214,"context_line":"                    except KeyError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_2d23a4a8","line":211,"range":{"start_line":211,"start_character":16,"end_line":211,"end_character":38},"updated":"2016-08-01 08:27:59.000000000","message":"Well, so if the type is not str, such as int, we just drop the value ?  Or, can we assume all the values are of type str ?  If so, I think we can add an \"else\" statement to raise an exception or at least log an error.","commit_id":"2defc42473cdb5d68317da23cea92ccd66f267f5"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"fdf7ec29e23c00f7205545126f97104680e7c8ec","unresolved":false,"context_lines":[{"line_number":208,"context_line":"                # NOTE(aarefiev): verify provided value with introspection"},{"line_number":209,"context_line":"                # data format specifications."},{"line_number":210,"context_line":"                # TODO(aarefiev): simple verify on import rule time."},{"line_number":211,"context_line":"                if type(value) \u003d\u003d str:"},{"line_number":212,"context_line":"                    try:"},{"line_number":213,"context_line":"                        act.params[formatted_param] \u003d value.format(data\u003ddata)"},{"line_number":214,"context_line":"                    except KeyError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_4b8f99cc","line":211,"updated":"2016-08-02 12:33:36.000000000","message":"better\n\n if not isinstance(value, six.string_types):\n   continue","commit_id":"2defc42473cdb5d68317da23cea92ccd66f267f5"},{"author":{"_account_id":6610,"name":"Zhenguo Niu","email":"Niu.ZGlinux@gmail.com","username":"niu-zglinux"},"change_message_id":"04c446e2359fb5e63362d103bfd4b542292e54db","unresolved":false,"context_lines":[{"line_number":208,"context_line":"                # NOTE(aarefiev): verify provided value with introspection"},{"line_number":209,"context_line":"                # data format specifications."},{"line_number":210,"context_line":"                # TODO(aarefiev): simple verify on import rule time."},{"line_number":211,"context_line":"                if type(value) \u003d\u003d str:"},{"line_number":212,"context_line":"                    try:"},{"line_number":213,"context_line":"                        act.params[formatted_param] \u003d value.format(data\u003ddata)"},{"line_number":214,"context_line":"                    except KeyError as e:"}],"source_content_type":"text/x-python","patch_set":1,"id":"bacf61ea_90dd83e2","line":211,"range":{"start_line":211,"start_character":16,"end_line":211,"end_character":38},"in_reply_to":"bacf61ea_2d23a4a8","updated":"2016-08-01 08:58:10.000000000","message":"No, if the type is not string, it\u0027s obviously not a formatted value, we can just use it.","commit_id":"2defc42473cdb5d68317da23cea92ccd66f267f5"}],"releasenotes/notes/check-formatted-value-from-nonstring-3d851cb42ce3a0ac.yaml":[{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"0740a3082a1834dba15c740763f528ad3b41fa09","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"   Non string value is obviously not a formatted value,"},{"line_number":4,"context_line":"   this adds a check to avoid AttributeError exception."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"bacf61ea_79e16ffe","line":4,"range":{"start_line":3,"start_character":3,"end_line":4,"end_character":55},"updated":"2016-08-03 02:21:00.000000000","message":"I think releasenote is for users. This text doesn\u0027t mean anything to users. It is import to tell users when and what they can gain from this improvement. I suggest to describe more meaningful here, like:\n\nNon string value is now available when doing xxx. This avoids to raise an xxx exception.","commit_id":"e0a431b8ea9d31b7f51a18713b7ae0ee43fdfde0"},{"author":{"_account_id":13636,"name":"aarefiev","display_name":"Anton","email":"arefyevanton@gmail.com","username":"aarefiev"},"change_message_id":"0718dc46e5010957504832b9c0fa0c4a5dfa7a50","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"   Non string value is obviously not a formatted value,"},{"line_number":4,"context_line":"   this adds a check to avoid AttributeError exception."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"bacf61ea_56f26e9b","line":4,"range":{"start_line":3,"start_character":3,"end_line":4,"end_character":55},"in_reply_to":"bacf61ea_79e16ffe","updated":"2016-08-03 07:42:32.000000000","message":"Agree, notes should saying that change fix setting not string `value` field for rule\u0027s actions.","commit_id":"e0a431b8ea9d31b7f51a18713b7ae0ee43fdfde0"}]}
