)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16769,"name":"Lucas Palm","email":"lapalm@us.ibm.com","username":"lucaspalm"},"change_message_id":"c32b6bffbf75fdd172e0ebea955cdc12ba916078","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Modify the regular expression when you create Pseudo-folder."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"At the moment, Invalid validation error occur when I specified name of 1 or 2 letters."},{"line_number":10,"context_line":"And we can not create it.So, I modified regular expression to be able to specify name of 1 or 2 letters."},{"line_number":11,"context_line":"Closes-Bug:#1514713"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I4a763e49545e03829b3035b62d04ec4ff7d13b00"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da85f559_e28ae2be","line":10,"updated":"2015-11-10 15:16:04.000000000","message":"The lines above are longer than 72 characters, which is the set standard for the body of the commit message.\n\nSee here: https://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure\n\nYou are also missing a space between the two sentences on line 10.","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"9e5770cb0242ee90268e0bc0bf2b08c9359abba3","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Modify the regular expression when you create Pseudo-folder."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"At the moment, Invalid validation error occur when I specified name of 1 or 2 letters."},{"line_number":10,"context_line":"And we can not create it.So, I modified regular expression to be able to specify name of 1 or 2 letters."},{"line_number":11,"context_line":"Closes-Bug:#1514713"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I4a763e49545e03829b3035b62d04ec4ff7d13b00"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da85f559_752a2980","line":10,"in_reply_to":"da85f559_e28ae2be","updated":"2015-11-10 16:30:06.000000000","message":"+1","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":16769,"name":"Lucas Palm","email":"lapalm@us.ibm.com","username":"lucaspalm"},"change_message_id":"c32b6bffbf75fdd172e0ebea955cdc12ba916078","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"At the moment, Invalid validation error occur when I specified name of 1 or 2 letters."},{"line_number":10,"context_line":"And we can not create it.So, I modified regular expression to be able to specify name of 1 or 2 letters."},{"line_number":11,"context_line":"Closes-Bug:#1514713"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I4a763e49545e03829b3035b62d04ec4ff7d13b00"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da85f559_c2547e22","line":11,"updated":"2015-11-10 15:16:04.000000000","message":"Since I am already pointing out other nits, you might as well add a space after the colon (\u0027:\u0027) and before the \u0027#\u0027 to make your link look a little nicer.","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"7bd46c88b5c3b4502c888e18b5458a87a3bd87ba","unresolved":false,"context_lines":[{"line_number":9,"context_line":"At the moment, Invalid validation error occur when I specified name of 1 or 2 letters."},{"line_number":10,"context_line":"And we can not create it.So, I modified regular expression to be able to specify name of 1 or 2 letters."},{"line_number":11,"context_line":"Closes-Bug:#1514713"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I4a763e49545e03829b3035b62d04ec4ff7d13b00"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da85f559_b1eba577","line":12,"updated":"2015-11-11 09:01:44.000000000","message":"Thank you for reviewing!\nI modified below\n - the lines are less than 72\n - add a space after the comma\n - add a space after the colon","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"a9bc40ee80b9deb7d9aab03b84840c5cabbb012f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Kenji Ishii \u003cken-ishii@sx.jp.nec.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-12-07 01:49:26 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Modify the regular expression when you create Pseudo-folder."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"At the moment, Invalid validation error occur when I specified name"},{"line_number":10,"context_line":"of 1 or 2 letters. And we can not create it. So, I modified the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"7a740942_e56ce636","line":7,"updated":"2015-12-08 08:59:16.000000000","message":"This commit message is no longer correct.\nHow about \"Improve validation for pseudo-folder name\"?","commit_id":"2ad3b443c980c00ee68cc41bfcc80c7732b40650"}],"openstack_dashboard/dashboards/project/containers/forms.py":[{"author":{"_account_id":16769,"name":"Lucas Palm","email":"lapalm@us.ibm.com","username":"lucaspalm"},"change_message_id":"b81472a1ea38d6f84ec7a3f60c68b4fa3eb36bb8","unresolved":false,"context_lines":[{"line_number":34,"context_line":"                                               _(\"Slash is not an allowed \""},{"line_number":35,"context_line":"                                                 \"character.\"),"},{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":"no_begin_or_end_slash \u003d \\"},{"line_number":38,"context_line":"    validators.RegexValidator(r\u0027^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\u0027,"},{"line_number":39,"context_line":"                              _(\"Slash is not allowed at \""},{"line_number":40,"context_line":"                                \"the beginning or end of \""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_c7a6d052","line":37,"updated":"2015-11-10 15:03:03.000000000","message":"If you could do this line break without using the slash \u0027\\\u0027 (i.e. wrap the entire thing in ()), that would be the preferred way to handle wrapping long lines.","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"d7fdaecd58b0f9d22781de7abd6601318d152b7a","unresolved":false,"context_lines":[{"line_number":34,"context_line":"                                               _(\"Slash is not an allowed \""},{"line_number":35,"context_line":"                                                 \"character.\"),"},{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":"no_begin_or_end_slash \u003d \\"},{"line_number":38,"context_line":"    validators.RegexValidator(r\u0027^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\u0027,"},{"line_number":39,"context_line":"                              _(\"Slash is not allowed at \""},{"line_number":40,"context_line":"                                \"the beginning or end of \""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_6664bd48","line":37,"in_reply_to":"da85f559_c7a6d052","updated":"2015-11-10 17:22:53.000000000","message":"+1\n\nIn OpenStack, the usage of backslashes is discouraged, though it is not disallowed in flake8 due to some reasons.\n\n  no_begin_or_end_slash \u003d validators.RegexValidator(\n      r\u0027\u003cregular expressoion\u003e\u0027,\n      _(\u0027.......\u0027),\n      code\u003d\u0027.....\u0027)\n\nIn addition, the mixed usage of single quote and double quote is not a good idea. Please use either of them.","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"7bd46c88b5c3b4502c888e18b5458a87a3bd87ba","unresolved":false,"context_lines":[{"line_number":34,"context_line":"                                               _(\"Slash is not an allowed \""},{"line_number":35,"context_line":"                                                 \"character.\"),"},{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":"no_begin_or_end_slash \u003d \\"},{"line_number":38,"context_line":"    validators.RegexValidator(r\u0027^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\u0027,"},{"line_number":39,"context_line":"                              _(\"Slash is not allowed at \""},{"line_number":40,"context_line":"                                \"the beginning or end of \""}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_b1d405bd","line":37,"in_reply_to":"da85f559_c7a6d052","updated":"2015-11-11 09:01:44.000000000","message":"Thank you for good information.\nI modified not to use slash.","commit_id":"8d543fa31dafa369c3a63038faa9c9bbade60a5e"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2351160e09a7a8b1930cfc5c09275d9d79ff1f69","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    r\"^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\","},{"line_number":39,"context_line":"    _(\"Slash is not allowed at \""},{"line_number":40,"context_line":"      \"the beginning or end of \""},{"line_number":41,"context_line":"      \"your string.\"),"},{"line_number":42,"context_line":"    code\u003d\"nobeginorendslash\")"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9a8ffd7b_b357e456","line":41,"updated":"2015-11-29 03:38:52.000000000","message":"L.39-41 can be one line.","commit_id":"794475aab22a195d0944da42c605350bb60fd9c6"},{"author":{"_account_id":15168,"name":"Kirill Zaitsev","email":"k.zaitsev@me.com","username":"kzaitsev"},"change_message_id":"881ac029930be5082d9893409adbeba5e1c062d0","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                                                 \"character.\"),"},{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":"no_begin_or_end_slash \u003d validators.RegexValidator("},{"line_number":38,"context_line":"    r\"^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\","},{"line_number":39,"context_line":"    _(\"Slash is not allowed at the beginning or end of your string.\"),"},{"line_number":40,"context_line":"    code\u003d\"nobeginorendslash\")"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a8ffd7b_d8014606","line":38,"updated":"2015-11-30 12:36:50.000000000","message":"to be honest, I\u0027d rather have a custom validator, that would check startswith and endswith, rather than have a complicated regex check. \n\nbut this solution does work indeed.","commit_id":"bce5f12f1304cd019ee673089028b656dada4069"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c2de473a024c6825ba66df839d2f48c132b726d3","unresolved":false,"context_lines":[{"line_number":35,"context_line":"                                                 \"character.\"),"},{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":"no_begin_or_end_slash \u003d validators.RegexValidator("},{"line_number":38,"context_line":"    r\"^[^\\/](?u).*[^\\/]$|^[^/]{1,2}$\","},{"line_number":39,"context_line":"    _(\"Slash is not allowed at the beginning or end of your string.\"),"},{"line_number":40,"context_line":"    code\u003d\"nobeginorendslash\")"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a8ffd7b_5cb13c00","line":38,"in_reply_to":"9a8ffd7b_d8014606","updated":"2015-12-02 14:36:41.000000000","message":"Totally agree with you. We will be able to easily maintain it :-)","commit_id":"bce5f12f1304cd019ee673089028b656dada4069"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4f6815dcd74546acca884c18544a3aaad14ad322","unresolved":false,"context_lines":[{"line_number":174,"context_line":"        _name \u003d self.cleaned_data[\u0027name\u0027]"},{"line_number":175,"context_line":"        if _name.startswith(\u0027/\u0027) or _name.endswith(\u0027/\u0027):"},{"line_number":176,"context_line":"            raise forms.ValidationError(_(\"Slash is not allowed at the \""},{"line_number":177,"context_line":"                                          \"beginning or end of your string.\"))"},{"line_number":178,"context_line":"        return _name"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    def handle(self, request, data):"}],"source_content_type":"text/x-python","patch_set":9,"id":"7a740942_c7770001","line":177,"updated":"2015-12-04 05:43:01.000000000","message":"Why don\u0027t you define a validator and specify it as a validator of \u0027name\u0027 field above? You can keep using a validator in \u0027name\u0027 and what you need to do is to implement a new validator.","commit_id":"1f0df41af0432aa36a33030f063cdebfa2d7b404"},{"author":{"_account_id":10442,"name":"Masco Kaliyamoorthy","email":"mkaliyam@redhat.com","username":"masco"},"change_message_id":"9eeb0ed0d13ee4d0f5a88fa35430e43eb3bd19aa","unresolved":false,"context_lines":[{"line_number":36,"context_line":"                                               code\u003d\"noslash\")"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def validate_no_begin_or_end_slash(value):"},{"line_number":40,"context_line":"    if value.startswith(\u0027/\u0027) or value.endswith(\u0027/\u0027):"},{"line_number":41,"context_line":"        raise forms.ValidationError(_(\"Slash is not allowed at the \""},{"line_number":42,"context_line":"                                      \"beginning or end of your string.\"))"}],"source_content_type":"text/x-python","patch_set":12,"id":"7a740942_458a5765","line":39,"updated":"2015-12-09 09:29:00.000000000","message":"Do we need to strip the value here? otherwise the condition will fail if we have space in the string at beginning or end.\n\nnot sure, swift will allow space at the end or beginning of the folder name.","commit_id":"9a2ff823b20786461da64d1b5caa37a139a7f594"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"2f6e573296e33fbfac160301bc880a6239581d44","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def validate_exist_string_per_slash(value):"},{"line_number":40,"context_line":"    _values \u003d value.strip().split(\u0027/\u0027)"},{"line_number":41,"context_line":"    for path in _values:"},{"line_number":42,"context_line":"        if len(path.strip()) \u003c 1:"},{"line_number":43,"context_line":"            raise forms.ValidationError(_(\"Pseudo-folder name must be one \""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_6237dae3","line":40,"updated":"2016-01-04 11:19:11.000000000","message":"While I agree, this is more readable than the previous version, the error message quality degraded. If you\u0027re trying a string like u/, you don\u0027t see a more informative message like \u0027Slash is not allowed at the begin or end of your string. The resulting error message in the u/ case doesn\u0027t help an end user at all.\n\nI really like your check also checks for u/u. Thus you could remove the other regex no_slash_validator.","commit_id":"255aa711950a7e96039835fb91584fbb5c04e3ff"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"9e48fde370276af99f2f5698a5ab9f782a9770f8","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"def validate_exist_string_per_slash(value):"},{"line_number":40,"context_line":"    _values \u003d value.strip().split(\u0027/\u0027)"},{"line_number":41,"context_line":"    for path in _values:"},{"line_number":42,"context_line":"        if len(path.strip()) \u003c 1:"},{"line_number":43,"context_line":"            raise forms.ValidationError(_(\"Pseudo-folder name must be one \""}],"source_content_type":"text/x-python","patch_set":13,"id":"fa69d971_339a2f6f","line":40,"in_reply_to":"fa69d971_6237dae3","updated":"2016-01-06 11:39:11.000000000","message":"Incidentally, no_slash_validator validate whether slash is included or not.\nvalidate_exist_string_per_slash validate a string including a slash.\nSo I think we should treat as a different things.","commit_id":"255aa711950a7e96039835fb91584fbb5c04e3ff"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"40b6895b88f37f80a8748522b0fff192f9d907e7","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    _value \u003d value.strip()"},{"line_number":41,"context_line":"    if _value.startswith(\u0027/\u0027) or _value.endswith(\u0027/\u0027):"},{"line_number":42,"context_line":"        raise forms.ValidationError(_(\"Slash is not allowed at the beginning \""},{"line_number":43,"context_line":"                                      \"or end of your string.\"))"},{"line_number":44,"context_line":"    _values \u003d _value.split(\u0027/\u0027)"},{"line_number":45,"context_line":"    for path in _values:"},{"line_number":46,"context_line":"        if len(path.strip()) \u003c 1:"}],"source_content_type":"text/x-python","patch_set":15,"id":"dae33548_bada60e6","line":43,"range":{"start_line":43,"start_character":54,"end_line":43,"end_character":60},"updated":"2016-02-17 07:17:42.000000000","message":"how about use `container name`","commit_id":"31ae8e601c40d90deb06d3f71a1837ce647716f5"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"033377a26987cfdf755f5fdd61f513fd2489ed28","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    _value \u003d value.strip()"},{"line_number":41,"context_line":"    if _value.startswith(\u0027/\u0027) or _value.endswith(\u0027/\u0027):"},{"line_number":42,"context_line":"        raise forms.ValidationError(_(\"Slash is not allowed at the beginning \""},{"line_number":43,"context_line":"                                      \"or end of your string.\"))"},{"line_number":44,"context_line":"    _values \u003d _value.split(\u0027/\u0027)"},{"line_number":45,"context_line":"    for path in _values:"},{"line_number":46,"context_line":"        if len(path.strip()) \u003c 1:"}],"source_content_type":"text/x-python","patch_set":15,"id":"dae33548_0e1ceabf","line":43,"range":{"start_line":43,"start_character":54,"end_line":43,"end_character":60},"in_reply_to":"dae33548_bada60e6","updated":"2016-02-17 11:29:16.000000000","message":"Done. This string is not container name but a folder name(or path).","commit_id":"31ae8e601c40d90deb06d3f71a1837ce647716f5"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"40b6895b88f37f80a8748522b0fff192f9d907e7","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        raise forms.ValidationError(_(\"Slash is not allowed at the beginning \""},{"line_number":43,"context_line":"                                      \"or end of your string.\"))"},{"line_number":44,"context_line":"    _values \u003d _value.split(\u0027/\u0027)"},{"line_number":45,"context_line":"    for path in _values:"},{"line_number":46,"context_line":"        if len(path.strip()) \u003c 1:"},{"line_number":47,"context_line":"            raise forms.ValidationError(_(\"Each Pseudo-folder name must be \""},{"line_number":48,"context_line":"                                          \"one or more characters.\"))"}],"source_content_type":"text/x-python","patch_set":15,"id":"dae33548_fa8ea8ce","line":45,"range":{"start_line":45,"start_character":4,"end_line":45,"end_character":24},"updated":"2016-02-17 07:17:42.000000000","message":"could we use regex rule here ?","commit_id":"31ae8e601c40d90deb06d3f71a1837ce647716f5"},{"author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"change_message_id":"033377a26987cfdf755f5fdd61f513fd2489ed28","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        raise forms.ValidationError(_(\"Slash is not allowed at the beginning \""},{"line_number":43,"context_line":"                                      \"or end of your string.\"))"},{"line_number":44,"context_line":"    _values \u003d _value.split(\u0027/\u0027)"},{"line_number":45,"context_line":"    for path in _values:"},{"line_number":46,"context_line":"        if len(path.strip()) \u003c 1:"},{"line_number":47,"context_line":"            raise forms.ValidationError(_(\"Each Pseudo-folder name must be \""},{"line_number":48,"context_line":"                                          \"one or more characters.\"))"}],"source_content_type":"text/x-python","patch_set":15,"id":"dae33548_59a8758d","line":45,"range":{"start_line":45,"start_character":4,"end_line":45,"end_character":24},"in_reply_to":"dae33548_fa8ea8ce","updated":"2016-02-17 11:29:16.000000000","message":"What kind of regex do we need ? Any letter except for slash can be specified and slash check is already done.","commit_id":"31ae8e601c40d90deb06d3f71a1837ce647716f5"}],"openstack_dashboard/dashboards/project/containers/tests.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"7a92c84108a386b6dd808b4c40e7ffbbf4d95c67","unresolved":false,"context_lines":[{"line_number":552,"context_line":""},{"line_number":553,"context_line":"    def test_regexp_no_begin_or_end_slash(self):"},{"line_number":554,"context_line":"        import re"},{"line_number":555,"context_line":"        pattern \u003d re.compile(forms.no_begin_or_end_slash.regex)"},{"line_number":556,"context_line":"        expected \u003d {"},{"line_number":557,"context_line":"            \u0027a\u0027: True,"},{"line_number":558,"context_line":"            \u0027ab\u0027: True,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9a8ffd7b_81991d7b","line":555,"updated":"2015-11-30 07:14:12.000000000","message":"why don\u0027t you call the validator directly?","commit_id":"d58e9af233eb8c3b1647eed27b9128395bf261c7"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6909bbca8b5e040c4bc1a0df1ff5132911d467ec","unresolved":false,"context_lines":[{"line_number":564,"context_line":"        for name, expected_result in expected.items():"},{"line_number":565,"context_line":"            result \u003d True"},{"line_number":566,"context_line":"            try:"},{"line_number":567,"context_line":"                forms.no_begin_or_end_slash.__call__(name)"},{"line_number":568,"context_line":"            except ValidationError:"},{"line_number":569,"context_line":"                result \u003d False"},{"line_number":570,"context_line":"            self.assertEqual(result, expected_result)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a8ffd7b_14d9e456","line":567,"updated":"2015-11-30 10:05:24.000000000","message":"__call__ is a private method, so you should not call it directly.\n\n    no_begin_or_end_slash(name)","commit_id":"96ca056fef3b67312f00a113307c48cb8e5d118d"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"6909bbca8b5e040c4bc1a0df1ff5132911d467ec","unresolved":false,"context_lines":[{"line_number":567,"context_line":"                forms.no_begin_or_end_slash.__call__(name)"},{"line_number":568,"context_line":"            except ValidationError:"},{"line_number":569,"context_line":"                result \u003d False"},{"line_number":570,"context_line":"            self.assertEqual(result, expected_result)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a8ffd7b_f4f0e068","line":570,"updated":"2015-11-30 10:05:24.000000000","message":"Consider using more straightforward way:\n\n  if raise_validation_error:\n      self.assertRaises(ValidationError, forms.no_begin_or_end_slash, name)\n  else:\n      // no exception is expected.\n      forms.no_begin_or_end_slash(name)","commit_id":"96ca056fef3b67312f00a113307c48cb8e5d118d"}]}
