)]}'
{"os_testr/os_testr.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"8cdb6f734a52f3a9ad314215ccae7f4a1a6eae93","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        msg \u003d \"You can not use until_failure mode with pdb or no-discover\""},{"line_number":254,"context_line":"        print(msg)"},{"line_number":255,"context_line":"        exit(5)"},{"line_number":256,"context_line":"    if opts.regex and opts.path:"},{"line_number":257,"context_line":"        msg \u003d \"You cannot specify the regex with both the --regex option and \"\\"},{"line_number":258,"context_line":"              \"as a positional argument\""},{"line_number":259,"context_line":"        print(msg)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_5b0b2424","line":256,"updated":"2015-07-15 22:17:48.000000000","message":"you can delegate the check to argparse using a argparse mutually exclusive group and both arguments can fill the same attribute opts.regex","commit_id":"a0d7a055a33ae5125b363c822818cd9327171b89"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"390db07b426434e752dc7273130d5935590d3c7a","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        msg \u003d \"You can not use until_failure mode with pdb or no-discover\""},{"line_number":254,"context_line":"        print(msg)"},{"line_number":255,"context_line":"        exit(5)"},{"line_number":256,"context_line":"    if opts.regex and opts.path:"},{"line_number":257,"context_line":"        msg \u003d \"You cannot specify the regex with both the --regex option and \"\\"},{"line_number":258,"context_line":"              \"as a positional argument\""},{"line_number":259,"context_line":"        print(msg)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_af3c2194","line":256,"in_reply_to":"9a41bdd9_5b0b2424","updated":"2015-07-20 14:13:15.000000000","message":"https://docs.python.org/2/library/argparse.html#argparse.ArgumentParser.add_mutually_exclusive_group","commit_id":"a0d7a055a33ae5125b363c822818cd9327171b89"}],"os_testr/tests/test_return_codes.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"f0b5f2683971c22d5eb98a66123c694d971b04d2","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        self.assertRunExit(\u0027ostestr --list\u0027, 0)"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def test_regex_supplied_as_positional_argument(self):"},{"line_number":107,"context_line":"        self.assertRunExit(\u0027ostestr path\u0027, 1)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_regex_both_positional_and_optional_fails(self):"},{"line_number":110,"context_line":"        self.assertRunExit(\u0027ostestr path --regex path\u0027, 6)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_c20dfbe8","line":107,"updated":"2015-07-16 07:43:09.000000000","message":"Can you clarify why it fails?","commit_id":"a0d7a055a33ae5125b363c822818cd9327171b89"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"390db07b426434e752dc7273130d5935590d3c7a","unresolved":false,"context_lines":[{"line_number":104,"context_line":"        self.assertRunExit(\u0027ostestr --list\u0027, 0)"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def test_regex_supplied_as_positional_argument(self):"},{"line_number":107,"context_line":"        self.assertRunExit(\u0027ostestr path\u0027, 1)"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    def test_regex_both_positional_and_optional_fails(self):"},{"line_number":110,"context_line":"        self.assertRunExit(\u0027ostestr path --regex path\u0027, 6)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_876349b1","line":107,"in_reply_to":"9a41bdd9_c20dfbe8","updated":"2015-07-20 14:13:15.000000000","message":"same question","commit_id":"a0d7a055a33ae5125b363c822818cd9327171b89"}]}
