)]}'
{"cinder/volume/drivers/rbd.py":[{"author":{"_account_id":27248,"name":"Prateek Goel","email":"prateek.goel2@tatacommunications.com","username":"prateek.goel"},"change_message_id":"46d37ed6fa300ca83b54f35dbec911f82ec74e39","unresolved":false,"context_lines":[{"line_number":1325,"context_line":"        try:"},{"line_number":1326,"context_line":"            os.makedirs(tmpdir)"},{"line_number":1327,"context_line":"        except OSError as exc:"},{"line_number":1328,"context_line":"            if exc.errno !\u003d errno.EEXIST or not os.path.exists(tmpdir):"},{"line_number":1329,"context_line":"                raise"},{"line_number":1330,"context_line":""},{"line_number":1331,"context_line":"        return tmpdir"}],"source_content_type":"text/x-python","patch_set":3,"id":"3fa0c359_f702453e","line":1328,"range":{"start_line":1328,"start_character":0,"end_line":1328,"end_character":71},"updated":"2018-02-19 12:46:14.000000000","message":"if the dir exists then there are 2 possibilities either it is CONF based dir which will exist always, else its via tempfile. If, its via tempfile then we need to do gettempdir again and try to get a unique.\nChecking for os.path.exists does not add any value because of EEXIST errno check.","commit_id":"d3e415d4debecd23e841f1cd7ee8e3d5f1840b63"}]}
