)]}'
{"manila/cmd/manage.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"c127b76b551c4ce3c6a624c2124f2f210e47395c","unresolved":false,"context_lines":[{"line_number":246,"context_line":"               \u0027soft-deleted rows, default is %(default)d.\u0027)"},{"line_number":247,"context_line":"    def purge(self, age_in_days):"},{"line_number":248,"context_line":"        \"\"\"Purge soft-deleted records older than a given age.\"\"\""},{"line_number":249,"context_line":"        try:"},{"line_number":250,"context_line":"            age_in_days \u003d int(age_in_days)"},{"line_number":251,"context_line":"        except ValueError:"},{"line_number":252,"context_line":"            sys.exit(_(\"Invalid int value for age_in_days: \""},{"line_number":253,"context_line":"                       \"%(age_in_days)s\") % {\u0027age_in_days\u0027: age_in_days})"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"        if age_in_days \u003c 0:"},{"line_number":256,"context_line":"            print(_(\"Must supply a non-negative value for age.\"))"}],"source_content_type":"text/x-python","patch_set":1,"id":"fa31d9ce_420b2b2a","line":253,"range":{"start_line":249,"start_character":8,"end_line":253,"end_character":73},"updated":"2017-02-14 17:22:31.000000000","message":"What is wrong with current variant?\n\n\"\"\"\n$ manila-manage db purge foo\nusage: manila-manage db purge [-h] [age_in_days]\nmanila-manage db purge: error: argument age_in_days: invalid int value: \u0027foo\u0027\n\n\"\"\"","commit_id":"756ad8df7589b94c47c1b8398164368d3cb147ac"}]}
