)]}'
{"anchor/validators.py":[{"author":{"_account_id":11716,"name":"Tim Kelsey","email":"timothy.kelsey@uk.ibm.com","username":"tkelsey"},"change_message_id":"0058d6b4bfedffb5880f708ebd5005b0833a4c48","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def iter_alternative_names(csr, types):"},{"line_number":47,"context_line":"    for ext in (csr.get_extensions() or []):"},{"line_number":48,"context_line":"        if ext.get_name() \u003d\u003d \"subjectAltName\":"},{"line_number":49,"context_line":"            alternatives \u003d [alt.strip() for alt in ext.get_value().split(\u0027,\u0027)]"},{"line_number":50,"context_line":"            for alternative in alternatives:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5afe65bd_c401f8b0","line":47,"updated":"2015-06-04 09:49:38.000000000","message":"why the or? csr.get_extensions will always return a list, that may be empty... or am I missing somthing?","commit_id":"97f2d0f9140167c9d682d5b098cbcb7fa381592f"},{"author":{"_account_id":1528,"name":"Stanislaw Pitucha","email":"viraptor@gmail.com","username":"stanislaw-pitucha"},"change_message_id":"8b611e15ea81bb574129d8ef69f3f9d44ed6c4b2","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"def iter_alternative_names(csr, types):"},{"line_number":47,"context_line":"    for ext in (csr.get_extensions() or []):"},{"line_number":48,"context_line":"        if ext.get_name() \u003d\u003d \"subjectAltName\":"},{"line_number":49,"context_line":"            alternatives \u003d [alt.strip() for alt in ext.get_value().split(\u0027,\u0027)]"},{"line_number":50,"context_line":"            for alternative in alternatives:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5afe65bd_a1df090c","line":47,"in_reply_to":"5afe65bd_c401f8b0","updated":"2015-06-04 11:37:01.000000000","message":"True. It\u0027s legacy from the older code it seems. X509_REQ_get_extensions can return NULL and the interface was more direct when I started.\n\nI\u0027ll kill the [].","commit_id":"97f2d0f9140167c9d682d5b098cbcb7fa381592f"}]}
