)]}'
{"oslo_config/types.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"c6da4cbddf68ccaf1f171808c97cc512cac046dd","unresolved":false,"context_lines":[{"line_number":795,"context_line":"            try:"},{"line_number":796,"context_line":"                value \u003d self.hostname(value)"},{"line_number":797,"context_line":"            except ValueError:"},{"line_number":798,"context_line":"                raise ValueError(\"%s is not a valid host address\" % value)"},{"line_number":799,"context_line":"        return value"},{"line_number":800,"context_line":""},{"line_number":801,"context_line":"    def __repr__(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7ffa3b31_4d9c5e0d","line":798,"updated":"2017-04-20 16:31:59.000000000","message":"In this case if value is a sequence type (tuple or list), this will produce a TypeError exception hiding the original error. That can be fixed by making it:\n\n  raise ValueError(\"%s is not a valid host address\" % (value,))","commit_id":"c180a55adc720b7fd8d2c152fdbbd13bd82d43b8"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"749e95dcb67423c7d02bd7d8ebeaccf456866876","unresolved":false,"context_lines":[{"line_number":795,"context_line":"            try:"},{"line_number":796,"context_line":"                value \u003d self.hostname(value)"},{"line_number":797,"context_line":"            except ValueError:"},{"line_number":798,"context_line":"                raise ValueError(\"%s is not a valid host address\" % value)"},{"line_number":799,"context_line":"        return value"},{"line_number":800,"context_line":""},{"line_number":801,"context_line":"    def __repr__(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7ffa3b31_67adeb99","line":798,"in_reply_to":"7ffa3b31_4d9c5e0d","updated":"2017-04-21 00:11:57.000000000","message":"It is no problem in \u0027list\u0027 case.\nBut in \u0027tuple\u0027 case , the length of the tuple is equal or greater than 2 , TypeError is reaised.\nDone.","commit_id":"c180a55adc720b7fd8d2c152fdbbd13bd82d43b8"}]}
