)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"3197dd4e2e5df85b04b2772f313b33b41816698c","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     chen-li \u003cshchenli@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-12-16 17:13:18 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Deprecate show API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Show API is duplication of opestack api."},{"line_number":10,"context_line":"This change add deprecate message for every show API,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5a710552_26048348","line":7,"updated":"2015-12-16 10:28:24.000000000","message":"Its not API. Its cli command. So more right to say Deprecate show cli commands or Add deprecation msg to show cli commands","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     chen-li \u003cshchenli@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-12-16 17:13:18 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Deprecate show API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Show API is duplication of opestack api."},{"line_number":10,"context_line":"This change add deprecate message for every show API,"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a7e1126_7df918c8","line":7,"in_reply_to":"5a710552_26048348","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"3197dd4e2e5df85b04b2772f313b33b41816698c","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Deprecate show API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Show API is duplication of opestack api."},{"line_number":10,"context_line":"This change add deprecate message for every show API,"},{"line_number":11,"context_line":"and it will be removed in next release."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5a710552_663ccbe2","line":9,"updated":"2015-12-16 10:28:24.000000000","message":"The main reason to remove this stuff is because Its related to OpenStack, but Rally goes on the way to became not dependent from OpenStack. And secondly because this stuff already exists in OpenStack. As I inderstand.","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Deprecate show API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Show API is duplication of opestack api."},{"line_number":10,"context_line":"This change add deprecate message for every show API,"},{"line_number":11,"context_line":"and it will be removed in next release."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3a7e1126_9df644d6","line":9,"in_reply_to":"5a710552_663ccbe2","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"}],"rally/cli/commands/show.py":[{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"11511680d70080f06946bc53d729d9be20771a19","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            self._print_header(\"Images\", credential_dict)"},{"line_number":66,"context_line":"            table_rows \u003d []"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            clients \u003d api.get_clients(credential_dict)"},{"line_number":69,"context_line":"            glance_client \u003d clients.glance()"},{"line_number":70,"context_line":"            for image in glance_client.images.list():"},{"line_number":71,"context_line":"                data \u003d [image.id, image.name, image.size]"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_84ccec35","line":68,"updated":"2015-12-14 09:29:22.000000000","message":"This seems very wrong, we should work with clients in rally.api not here, here we should just display the results.","commit_id":"d7505240667652a214b1b6ee51aa7b0b5f6f3597"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"214b13432a9f508aa19f3f3def8d42e5bcf2e83b","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            self._print_header(\"Images\", credential_dict)"},{"line_number":66,"context_line":"            table_rows \u003d []"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            clients \u003d api.get_clients(credential_dict)"},{"line_number":69,"context_line":"            glance_client \u003d clients.glance()"},{"line_number":70,"context_line":"            for image in glance_client.images.list():"},{"line_number":71,"context_line":"                data \u003d [image.id, image.name, image.size]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a710552_61c41e92","line":68,"in_reply_to":"5a710552_50dbf2ed","updated":"2015-12-14 18:35:12.000000000","message":"I like this idea:) let\u0027s deprecate it an remove it in next release","commit_id":"d7505240667652a214b1b6ee51aa7b0b5f6f3597"},{"author":{"_account_id":6172,"name":"Boris Pavlovic","email":"boris@pavlovic.me","username":"boris-42"},"change_message_id":"4a245867ae93003dfd40d83c87d4a4149586805a","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            self._print_header(\"Images\", credential_dict)"},{"line_number":66,"context_line":"            table_rows \u003d []"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            clients \u003d api.get_clients(credential_dict)"},{"line_number":69,"context_line":"            glance_client \u003d clients.glance()"},{"line_number":70,"context_line":"            for image in glance_client.images.list():"},{"line_number":71,"context_line":"                data \u003d [image.id, image.name, image.size]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a710552_50dbf2ed","line":68,"in_reply_to":"7a740942_1fc83e54","updated":"2015-12-14 17:47:44.000000000","message":"maybe we should just remove show API? because it\u0027s OpenStack related?","commit_id":"d7505240667652a214b1b6ee51aa7b0b5f6f3597"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"9d9cde193e48af63fe5d556d6047a4155f58f627","unresolved":false,"context_lines":[{"line_number":65,"context_line":"            self._print_header(\"Images\", credential_dict)"},{"line_number":66,"context_line":"            table_rows \u003d []"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"            clients \u003d api.get_clients(credential_dict)"},{"line_number":69,"context_line":"            glance_client \u003d clients.glance()"},{"line_number":70,"context_line":"            for image in glance_client.images.list():"},{"line_number":71,"context_line":"                data \u003d [image.id, image.name, image.size]"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_1fc83e54","line":68,"in_reply_to":"7a740942_84ccec35","updated":"2015-12-14 13:10:12.000000000","message":"Imo, rally api should not include \"show\" apis. It looks like duplication of opestack api","commit_id":"d7505240667652a214b1b6ee51aa7b0b5f6f3597"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"f2eacba1b2378c1962f82ba811bbbd2cf76bd77c","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":57,"context_line":"        \"\"\""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"        headers \u003d [\"UUID\", \"Name\", \"Size (B)\"]"},{"line_number":62,"context_line":"        mixed_case_fields \u003d [\"UUID\", \"Name\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_8b90e044","line":59,"updated":"2015-12-16 10:03:10.000000000","message":"Could you please use rally.common.logging.log_deprecated?","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":12395,"name":"Roman Vasylets","email":"pomeo92@gmail.com","username":"rvasilets"},"change_message_id":"3197dd4e2e5df85b04b2772f313b33b41816698c","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":57,"context_line":"        \"\"\""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"        headers \u003d [\"UUID\", \"Name\", \"Size (B)\"]"},{"line_number":62,"context_line":"        mixed_case_fields \u003d [\"UUID\", \"Name\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_6627eb64","line":59,"in_reply_to":"5a710552_8b90e044","updated":"2015-12-16 10:28:24.000000000","message":"Also print should be i18n.","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":57,"context_line":"        \"\"\""},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"        headers \u003d [\"UUID\", \"Name\", \"Size (B)\"]"},{"line_number":62,"context_line":"        mixed_case_fields \u003d [\"UUID\", \"Name\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a7e1126_3d0390ba","line":59,"in_reply_to":"5a710552_8b90e044","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"f2eacba1b2378c1962f82ba811bbbd2cf76bd77c","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":91,"context_line":"        \"\"\""},{"line_number":92,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        headers \u003d [\"ID\", \"Name\", \"vCPUs\", \"RAM (MB)\", \"Swap (MB)\", \"Disk (GB)\"]"},{"line_number":95,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Name\", \"vCPUs\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_6b9d7458","line":92,"updated":"2015-12-16 10:03:10.000000000","message":"same as above","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        :param deployment: UUID or name of a deployment"},{"line_number":91,"context_line":"        \"\"\""},{"line_number":92,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        headers \u003d [\"ID\", \"Name\", \"vCPUs\", \"RAM (MB)\", \"Swap (MB)\", \"Disk (GB)\"]"},{"line_number":95,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Name\", \"vCPUs\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a7e1126_5d00dcaa","line":92,"in_reply_to":"5a710552_6b9d7458","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"f2eacba1b2378c1962f82ba811bbbd2cf76bd77c","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    def networks(self, deployment\u003dNone):"},{"line_number":121,"context_line":"        \"\"\"Display configured networks.\"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        headers \u003d [\"ID\", \"Label\", \"CIDR\"]"},{"line_number":126,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Label\", \"CIDR\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_2ba0cc8f","line":123,"updated":"2015-12-16 10:03:10.000000000","message":"same as above","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    def networks(self, deployment\u003dNone):"},{"line_number":121,"context_line":"        \"\"\"Display configured networks.\"\"\""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"        headers \u003d [\"ID\", \"Label\", \"CIDR\"]"},{"line_number":126,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Label\", \"CIDR\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a7e1126_fd2bc831","line":123,"in_reply_to":"5a710552_2ba0cc8f","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"f2eacba1b2378c1962f82ba811bbbd2cf76bd77c","unresolved":false,"context_lines":[{"line_number":145,"context_line":"    def secgroups(self, deployment\u003dNone):"},{"line_number":146,"context_line":"        \"\"\"Display security groups.\"\"\""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        headers \u003d [\"ID\", \"Name\", \"Description\"]"},{"line_number":151,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Name\", \"Description\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_eba9647c","line":148,"updated":"2015-12-16 10:03:10.000000000","message":"same as above","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":145,"context_line":"    def secgroups(self, deployment\u003dNone):"},{"line_number":146,"context_line":"        \"\"\"Display security groups.\"\"\""},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"        headers \u003d [\"ID\", \"Name\", \"Description\"]"},{"line_number":151,"context_line":"        mixed_case_fields \u003d [\"ID\", \"Name\", \"Description\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a7e1126_1d31f4a2","line":148,"in_reply_to":"5a710552_eba9647c","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"f2eacba1b2378c1962f82ba811bbbd2cf76bd77c","unresolved":false,"context_lines":[{"line_number":171,"context_line":"    def keypairs(self, deployment\u003dNone):"},{"line_number":172,"context_line":"        \"\"\"Display available ssh keypairs.\"\"\""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        headers \u003d [\"Name\", \"Fingerprint\"]"},{"line_number":177,"context_line":"        mixed_case_fields \u003d [\"Name\", \"Fingerprint\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a710552_4bb198e0","line":174,"updated":"2015-12-16 10:03:10.000000000","message":"same as above","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"9ea3392bfd63eff237100cbd29c919c150d51f38","unresolved":false,"context_lines":[{"line_number":171,"context_line":"    def keypairs(self, deployment\u003dNone):"},{"line_number":172,"context_line":"        \"\"\"Display available ssh keypairs.\"\"\""},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"        print(\"This command was deprecated, and will be removed soon\")"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":"        headers \u003d [\"Name\", \"Fingerprint\"]"},{"line_number":177,"context_line":"        mixed_case_fields \u003d [\"Name\", \"Fingerprint\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a7e1126_dd2a8c2c","line":174,"in_reply_to":"5a710552_4bb198e0","updated":"2015-12-17 03:41:19.000000000","message":"Done","commit_id":"97f1971737a59730e54c3217767006db945fe9cb"},{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"274b0c59b843698328558ee6df6a4dcb8d94b54a","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"        return credentials + deployment.get(\"users\", [])"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    @logging.log_deprecated(\"Show CLI commands are deprecated.\", \"0.1.2\")"},{"line_number":51,"context_line":"    @cliutils.args(\"--deployment\", dest\u003d\"deployment\", type\u003dstr,"},{"line_number":52,"context_line":"                   required\u003dFalse, help\u003d\"UUID or name of a deployment\")"},{"line_number":53,"context_line":"    @envutils.with_default_deployment(cli_arg_name\u003d\"deployment\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_9f1703a3","line":50,"range":{"start_line":50,"start_character":13,"end_line":50,"end_character":27},"updated":"2015-12-17 09:02:03.000000000","message":"I believe that in previous patchset there were more detailed messages (I can\u0027t find them now due to gerrit redesign) that could give more information to user.\nSomething like \"Show commands are deprecated. Please use OpenStack\u0027s native equivalents.\" would be great.","commit_id":"d5cab982d6f4d6a77b2ec070d3d1c07659a82466"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"fbaef83bd47118b8d6ef1c553473336c92fa0b9e","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    @logging.log_deprecated("},{"line_number":51,"context_line":"        \"Show commands are deprecated. \""},{"line_number":52,"context_line":"        \"Please use OpenStack\u0027s native equivalents.\","},{"line_number":53,"context_line":"        \"0.1.2\")"},{"line_number":54,"context_line":"    @cliutils.args(\"--deployment\", dest\u003d\"deployment\", type\u003dstr,"},{"line_number":55,"context_line":"                   required\u003dFalse, help\u003d\"UUID or name of a deployment\")"},{"line_number":56,"context_line":"    @envutils.with_default_deployment(cli_arg_name\u003d\"deployment\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a7b0d38_8c552cfb","line":53,"range":{"start_line":53,"start_character":9,"end_line":53,"end_character":14},"updated":"2015-12-28 13:56:46.000000000","message":"please, change 0.1.2 version to 0.2.0 here and below","commit_id":"f89664cdc352ad721255cd18e2eb454d3d581e11"}],"rally/common/logging.py":[{"author":{"_account_id":8491,"name":"Illia Khudoshyn","email":"ikhudoshyn@mirantis.com","username":"ikhudoshyn"},"change_message_id":"274b0c59b843698328558ee6df6a4dcb8d94b54a","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    \"\"\""},{"line_number":226,"context_line":"    log_function \u003d log_function or LOG.warning"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @decorator.decorator"},{"line_number":229,"context_line":"    def log_decorator(f, *args, **kwargs):"},{"line_number":230,"context_line":"        if (not once) or (not getattr(f, \"_warned_dep_method\", False)):"},{"line_number":231,"context_line":"            log_function(\"\u0027%(func)s\u0027 is deprecated in Rally v%(version)s: \""}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_bf03dfb7","line":228,"range":{"start_line":228,"start_character":15,"end_line":228,"end_character":24},"updated":"2015-12-17 09:02:03.000000000","message":"This change itself is good and it definitely makes the code look more pythonic, but\n\n1. It is not related to the topic of the patchset\n\n2. We\u0027d like the code to be consistent -- at least therte is one more function below, log_deprecated_args, which uses the same old approach so it needs to be refactored in the same way.\n\nIf you could make a separate patchset with these changes, I believe it will get in easily and quickly.","commit_id":"d5cab982d6f4d6a77b2ec070d3d1c07659a82466"},{"author":{"_account_id":6116,"name":"li,chen","email":"shchenli@cn.ibm.com","username":"chen-li"},"change_message_id":"e881a99ea0c92cb594793eb3fcd6dc07929bebc0","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    \"\"\""},{"line_number":226,"context_line":"    log_function \u003d log_function or LOG.warning"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @decorator.decorator"},{"line_number":229,"context_line":"    def log_decorator(f, *args, **kwargs):"},{"line_number":230,"context_line":"        if (not once) or (not getattr(f, \"_warned_dep_method\", False)):"},{"line_number":231,"context_line":"            log_function(\"\u0027%(func)s\u0027 is deprecated in Rally v%(version)s: \""}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_0f608200","line":228,"range":{"start_line":228,"start_character":15,"end_line":228,"end_character":24},"in_reply_to":"3a7e1126_bf03dfb7","updated":"2015-12-18 01:51:25.000000000","message":"Please check https://review.openstack.org/#/c/259248/.\n\nAlso, could you explain a little more about \"the code to be consistent\"?  Why we need the one more function ??\n\nAnyway, I have tried to add \"log_deprecated_args\", but I get errors, such as:\n\n  File \"rally/common/logging.py\", line 229, in log_decorator\n    @decorator.decorator\n  File \"/opt/stack/rally/.tox/py27/local/lib/python2.7/site-packages/decorator.py\", line 258, in decorator\n    fun \u003d getfullargspec(callerfunc).args[0]  # first arg\nIndexError: list index out of range\nNon-zero exit code (2) from test listing.\n\nOr:\n\nTypeError: log_decorator() takes exactly 1 argument (9 given)","commit_id":"d5cab982d6f4d6a77b2ec070d3d1c07659a82466"}]}
