)]}'
{"openstack_dashboard/dashboards/identity/projects/workflows.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"0a3870833f53e04972b4e035ce2215a6de5e4c8d","unresolved":false,"context_lines":[{"line_number":530,"context_line":"                \u0027You cannot disable your current project\u0027)"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"    def clean(self):"},{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":535,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":536,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_285fa942","line":533,"updated":"2015-01-23 15:18:13.000000000","message":"Please add a comment which describes the reason why it is needed, though it is described in the commit message. I believe it is worth mentioned in the code.","commit_id":"a7500cfeeb7b882148f7d8f7cb78ba775aa07cd2"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"3c23b8fbf46f21c6507b659c05820c820b4e28a7","unresolved":false,"context_lines":[{"line_number":530,"context_line":"                \u0027You cannot disable your current project\u0027)"},{"line_number":531,"context_line":""},{"line_number":532,"context_line":"    def clean(self):"},{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":535,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":536,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a930d6b_85024309","line":533,"in_reply_to":"1a930d6b_285fa942","updated":"2015-01-23 16:14:12.000000000","message":"Done","commit_id":"a7500cfeeb7b882148f7d8f7cb78ba775aa07cd2"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"60c41c5f4d76096e9cf21273eaa151cd3ddd70fe","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        # NOTE(tsufiev): Django treats disabled checkbox as providing `False`"},{"line_number":535,"context_line":"        # value even its initial value is `True` - so we need to restore"},{"line_number":536,"context_line":"        # original `True` value of \u0027enabled\u0027 field here."},{"line_number":537,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":538,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":539,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_9a2fec87","line":536,"updated":"2015-01-24 00:21:40.000000000","message":"Nit: I think it should say \"even if its initial value ...\"  - Missing the \"if\"","commit_id":"7b5edac645df3d73271ee9357300e9300e7c74a0"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"2d6bc300f1ad89bbc58c0a622d8bc4b0feccf238","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        # NOTE(tsufiev): Django treats disabled checkbox as providing `False`"},{"line_number":535,"context_line":"        # value even its initial value is `True` - so we need to restore"},{"line_number":536,"context_line":"        # original `True` value of \u0027enabled\u0027 field here."},{"line_number":537,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":538,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":539,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a930d6b_a0fdff6f","line":536,"in_reply_to":"1a930d6b_9a2fec87","updated":"2015-01-27 17:09:15.000000000","message":"Done","commit_id":"7b5edac645df3d73271ee9357300e9300e7c74a0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d01c32d627c9e2c893556eee0bdb55db7e4a9585","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        # NOTE(tsufiev): Django treats disabled checkbox as providing `False`"},{"line_number":535,"context_line":"        # value even if its initial value is `True` - so we need to restore"},{"line_number":536,"context_line":"        # original `True` value of \u0027enabled\u0027 field here."},{"line_number":537,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":538,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":539,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa81d914_3e1761a5","line":536,"updated":"2015-01-27 20:24:49.000000000","message":"Only \"enabled\" field for the current project is disabled and the current project is always True because a user is logged in. It is worth mentioned here. It describes why we can always set \"True\".\nCould you add some more comment?\n\nFirst I looked this patch, I winder why we can always set \"True\" for a while.","commit_id":"1664e4fa55e1f978bb226fcac5946fb5fbb0cdc7"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"86f852956e79a2e73de01583441631420a010d57","unresolved":false,"context_lines":[{"line_number":533,"context_line":"        cleaned_data \u003d super(UpdateProjectInfoAction, self).clean()"},{"line_number":534,"context_line":"        # NOTE(tsufiev): Django treats disabled checkbox as providing `False`"},{"line_number":535,"context_line":"        # value even if its initial value is `True` - so we need to restore"},{"line_number":536,"context_line":"        # original `True` value of \u0027enabled\u0027 field here."},{"line_number":537,"context_line":"        if self.fields[\u0027enabled\u0027].widget.attrs.get(\u0027disabled\u0027, False):"},{"line_number":538,"context_line":"            cleaned_data[\u0027enabled\u0027] \u003d True"},{"line_number":539,"context_line":"        return cleaned_data"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa81d914_2968edb9","line":536,"in_reply_to":"fa81d914_3e1761a5","updated":"2015-01-28 10:40:01.000000000","message":"Done","commit_id":"1664e4fa55e1f978bb226fcac5946fb5fbb0cdc7"}]}
