)]}'
{"horizon/base.py":[{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"011c938669311d04e1c1afa92f0e411b957e12a1","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            else:"},{"line_number":62,"context_line":"                # prior to 1.10 callback was a property and we had"},{"line_number":63,"context_line":"                # to modify the private attribute behind the property"},{"line_number":64,"context_line":"                pattern._callback \u003d decorated"},{"line_number":65,"context_line":"        if getattr(pattern, \u0027url_patterns\u0027, []):"},{"line_number":66,"context_line":"            _decorate_urlconf(pattern.url_patterns, decorator, *args, **kwargs)"},{"line_number":67,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_ef503e0d","line":64,"updated":"2016-09-19 15:30:12.000000000","message":"I wonder if it would be more future-proof to check the existence of ._callback or .callback (or some other thing directly related to this change), instead of checking the version. This way it will also work in case where versioning scheme is changed (Django gets forked?) or this change gets backported on top of earlier version, etc. Yes, this is a very rare case, so it\u0027s probably not worth it, I\u0027m just wondering.","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d2ee359ea9ebb1cc69fa56c82f4300e13ccff3ca","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            else:"},{"line_number":62,"context_line":"                # prior to 1.10 callback was a property and we had"},{"line_number":63,"context_line":"                # to modify the private attribute behind the property"},{"line_number":64,"context_line":"                pattern._callback \u003d decorated"},{"line_number":65,"context_line":"        if getattr(pattern, \u0027url_patterns\u0027, []):"},{"line_number":66,"context_line":"            _decorate_urlconf(pattern.url_patterns, decorator, *args, **kwargs)"},{"line_number":67,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_45c66017","line":64,"in_reply_to":"7a8ec9b2_ef503e0d","updated":"2016-09-20 06:43:03.000000000","message":"I am not sure which is better. If a future version of Django introduces an attribute \u0027_callback\u0027 with some different meaning, it does not work. I think it is enough to check Django version.","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"}],"openstack_dashboard/dashboards/project/stacks/tests.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"30b1006068f1b3bdb8dd86e298b59f7b37ddc898","unresolved":false,"context_lines":[{"line_number":402,"context_line":"            secret \u003d (\u0027\u003cinput class\u003d\"form-control\" \u0027"},{"line_number":403,"context_line":"                      \u0027id\u003d\"id___param_secret_string\" \u0027"},{"line_number":404,"context_line":"                      \u0027name\u003d\"__param_secret_string\" \u0027"},{"line_number":405,"context_line":"                      \u0027type\u003d\"password\" required\u003e\u0027)"},{"line_number":406,"context_line":"        else:"},{"line_number":407,"context_line":"            pattern \u003d (\u0027\u003cinput class\u003d\"form-control\" \u0027"},{"line_number":408,"context_line":"                       \u0027id\u003d\"id___param_public_string\" \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_0c2f35f7","line":405,"updated":"2016-09-19 16:07:15.000000000","message":"instead of all this release conditional code, can we just not check the required\u003e or closing brace in general? Then we can use the same code.\n\nChecking markup is very fragile to begin with, I don\u0027t think a little less specific check hurts us here.","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"6583c17f4394d028278ffe04fa966b2668124385","unresolved":false,"context_lines":[{"line_number":402,"context_line":"            secret \u003d (\u0027\u003cinput class\u003d\"form-control\" \u0027"},{"line_number":403,"context_line":"                      \u0027id\u003d\"id___param_secret_string\" \u0027"},{"line_number":404,"context_line":"                      \u0027name\u003d\"__param_secret_string\" \u0027"},{"line_number":405,"context_line":"                      \u0027type\u003d\"password\" required\u003e\u0027)"},{"line_number":406,"context_line":"        else:"},{"line_number":407,"context_line":"            pattern \u003d (\u0027\u003cinput class\u003d\"form-control\" \u0027"},{"line_number":408,"context_line":"                       \u0027id\u003d\"id___param_public_string\" \u0027"}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_134657bf","line":405,"in_reply_to":"7a8ec9b2_0c2f35f7","updated":"2016-09-20 07:11:42.000000000","message":"This is not so simple, as the assertContains with html\u003dTrue is a little bit magical -- it actually parses the html fragments and then compares the resulting data structures (so that the order of attributes doesn\u0027t matter, for instance).\n\nI wonder if we could make a smarter one, that lets you specify optional attributes...","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"}],"openstack_dashboard/settings.py":[{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"011c938669311d04e1c1afa92f0e411b957e12a1","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    logging.warning(\"No local_settings file found.\")"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"# configure template debugging"},{"line_number":318,"context_line":"TEMPLATES[0][\u0027OPTIONS\u0027][\u0027debug\u0027] \u003d DEBUG"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"# Template loaders"},{"line_number":321,"context_line":"if DEBUG:"}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_ef611eaa","line":318,"updated":"2016-09-19 15:30:12.000000000","message":"This could be put directly in the literal on line 125 as \u0027debug\u0027: DEBUG,","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"6583c17f4394d028278ffe04fa966b2668124385","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    logging.warning(\"No local_settings file found.\")"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"# configure template debugging"},{"line_number":318,"context_line":"TEMPLATES[0][\u0027OPTIONS\u0027][\u0027debug\u0027] \u003d DEBUG"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"# Template loaders"},{"line_number":321,"context_line":"if DEBUG:"}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_73e6bbe9","line":318,"in_reply_to":"7a8ec9b2_b21cda6b","updated":"2016-09-20 07:11:42.000000000","message":"You are right, I didn\u0027t notice that it is being changed later.","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"cb7a9f3e5afdfd987188f32a12c16f59a11aff36","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    logging.warning(\"No local_settings file found.\")"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"# configure template debugging"},{"line_number":318,"context_line":"TEMPLATES[0][\u0027OPTIONS\u0027][\u0027debug\u0027] \u003d DEBUG"},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"# Template loaders"},{"line_number":321,"context_line":"if DEBUG:"}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_b21cda6b","line":318,"in_reply_to":"7a8ec9b2_ef611eaa","updated":"2016-09-19 16:25:47.000000000","message":"This would set it to False would it not? I\u0027m not entirely sure how Python/ Django would evaluate the setting in this case, but I\u0027d have thought that it would be set to False and DEBUG later set to True by the import.","commit_id":"6525e93f4cafe49c99941e0e4373ee1c036d583f"}]}
