)]}'
{"rally/plugins/openstack/scenarios/tempest/utils.py":[{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"35dae8eeb63e55bc8ee1c9c9f30c09f1a9ba3fcb","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"import decorator as dec"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"import functools"},{"line_number":19,"context_line":"import os"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a7b0d38_842b38eb","line":16,"updated":"2015-12-23 10:31:31.000000000","message":"Please do not do import as in this case because it makes code just unclear.","commit_id":"7afd46755733937a13780c689b84f61748724faa"},{"author":{"_account_id":10475,"name":"Alexander Maretskiy","email":"amaretskiy@mirantis.com","username":"maretskiy"},"change_message_id":"b363ffb3547792adb9a61eb1042f68f950010688","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"@decorator.decorator"},{"line_number":34,"context_line":"def tempest_log_wrapper(func, scenario_obj, *args, **kwargs):"},{"line_number":35,"context_line":"    if \"log_file\" not in kwargs:"},{"line_number":36,"context_line":"        # set temporary log file"},{"line_number":37,"context_line":"        kwargs[\"log_file\"] \u003d os.path.join("},{"line_number":38,"context_line":"            scenario_obj.context[\"tmp_results_dir\"],"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa69d971_a3807447","line":35,"updated":"2016-01-04 12:31:41.000000000","message":"In case of using decorator.decorator this will not work, since log_file is expected to be a kwarg but this is actually a positional argument (args[1]) so this will cause a TypeError while calling a TempestScenario.set:\n\n Error TypeError: set() takes at least 3 arguments (3 given)","commit_id":"3a77284b05db5f8736d91d9e336f28615ade46df"}]}
