)]}'
{
  "commit": "0c0f0143e1d10081357fbad03f98fb2ecdfe8abe",
  "tree": "38b5a6d735bab45e777f7ba812fa75480eb518a8",
  "parents": [
    "549dfc93fb7e3d6d8566064a60a6069deae5c8eb"
  ],
  "author": {
    "name": "Masayuki Igawa",
    "email": "masayuki@igawa.me",
    "time": "Mon Apr 10 17:22:02 2017 +0900"
  },
  "committer": {
    "name": "Masayuki Igawa",
    "email": "masayuki@igawa.me",
    "time": "Mon Apr 17 15:03:04 2017 +0900"
  },
  "message": "Use sequence directly instead of using len()\n\nThis commit makes to use sequence directly instead of using\nlen(SEQUENCE). The original code works correctly, and it\u0027s really\nstraight forward. However, PEP8 recommends like below[1]. And it\nmakes code more simple, too.\n\n```\nFor sequences, (strings, lists, tuples), use the fact that empty\nsequences are false.\n\nYes: if not seq:\n     if seq:\n\nNo: if len(seq):\n    if not len(seq):\n```\n\n[1] https://www.python.org/dev/peps/pep-0008/#programming-recommendations\n\nChange-Id: I8d41e16d82b1b3860a98e5217cb7a541fc83b907\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4637024ec6cd539891813ef26030857b67cf685e",
      "old_mode": 33188,
      "old_path": "tempest/api/compute/admin/test_hypervisor.py",
      "new_id": "e0e5a29e168bc5cdd7cab586999abfb2cdbc26db",
      "new_mode": 33188,
      "new_path": "tempest/api/compute/admin/test_hypervisor.py"
    },
    {
      "type": "modify",
      "old_id": "6354c576b1d3fc67546022c900d385863be4bc33",
      "old_mode": 33188,
      "old_path": "tempest/api/compute/servers/test_novnc.py",
      "new_id": "90b0665ca5f943d64f6b38412c6fe0dc2e7765ca",
      "new_mode": 33188,
      "new_path": "tempest/api/compute/servers/test_novnc.py"
    },
    {
      "type": "modify",
      "old_id": "f87bf6d304601e9f5413eec0d5723a5bcda5a737",
      "old_mode": 33188,
      "old_path": "tempest/api/compute/test_extensions.py",
      "new_id": "3b4177556db3a696b9f60ef52db8b1d7b5b3bb42",
      "new_mode": 33188,
      "new_path": "tempest/api/compute/test_extensions.py"
    },
    {
      "type": "modify",
      "old_id": "9d794b563a999b849f2f23cd7f7c8babdde24601",
      "old_mode": 33188,
      "old_path": "tempest/api/identity/base.py",
      "new_id": "06cc1202cc02fe4a4bc4abcf1a9eb34a845f212a",
      "new_mode": 33188,
      "new_path": "tempest/api/identity/base.py"
    },
    {
      "type": "modify",
      "old_id": "a724dc9f9ca8269f69b7c4f4e3b280751f0485eb",
      "old_mode": 33188,
      "old_path": "tempest/api/network/base.py",
      "new_id": "7ceeb50f7e3727dd026c306b8cf7655aa0ad421a",
      "new_mode": 33188,
      "new_path": "tempest/api/network/base.py"
    },
    {
      "type": "modify",
      "old_id": "91bfa338c23054f6e033b7a8aa652c67d5db2ae2",
      "old_mode": 33188,
      "old_path": "tempest/api/volume/test_extensions.py",
      "new_id": "39ce00c49179dc74abfcb6f0637f564c245bf8af",
      "new_mode": 33188,
      "new_path": "tempest/api/volume/test_extensions.py"
    },
    {
      "type": "modify",
      "old_id": "6b9f131e619aada7639362fa6f7990b99d8b1295",
      "old_mode": 33188,
      "old_path": "tempest/api/volume/test_volumes_list.py",
      "new_id": "ef96b6ed7dd1e9596c3759cc13ca2549dde8b3c2",
      "new_mode": 33188,
      "new_path": "tempest/api/volume/test_volumes_list.py"
    },
    {
      "type": "modify",
      "old_id": "a632726e6493108b615101a4e6837e1ec3857024",
      "old_mode": 33188,
      "old_path": "tempest/cmd/cleanup_service.py",
      "new_id": "f1c0a3ebad274e626cec64d72840092df305123a",
      "new_mode": 33188,
      "new_path": "tempest/cmd/cleanup_service.py"
    },
    {
      "type": "modify",
      "old_id": "38daffec523ee7da2ad0b1e64b876266108baafc",
      "old_mode": 33188,
      "old_path": "tempest/common/compute.py",
      "new_id": "9587ffe50bd36082acd12ef8c89cf73cd9b6dd9f",
      "new_mode": 33188,
      "new_path": "tempest/common/compute.py"
    },
    {
      "type": "modify",
      "old_id": "a92d16a0a6f860d7843b0822d0af32da610bd45d",
      "old_mode": 33188,
      "old_path": "tempest/common/preprov_creds.py",
      "new_id": "8053cacf30bdc2b22149434e82f36ee2820b701a",
      "new_mode": 33188,
      "new_path": "tempest/common/preprov_creds.py"
    },
    {
      "type": "modify",
      "old_id": "83aa405f3ffd5869310b4c37f59e3f694a9c64c8",
      "old_mode": 33188,
      "old_path": "tempest/lib/auth.py",
      "new_id": "ab4308fedd5ff404dc7f6fc746b6f0130514006f",
      "new_mode": 33188,
      "new_path": "tempest/lib/auth.py"
    },
    {
      "type": "modify",
      "old_id": "716f3748049f70a770bfd3edc025e90a1346fbec",
      "old_mode": 33188,
      "old_path": "tempest/lib/cli/output_parser.py",
      "new_id": "2edd5c16f431fabe91e9f9e664aeed3e5b47d61c",
      "new_mode": 33188,
      "new_path": "tempest/lib/cli/output_parser.py"
    },
    {
      "type": "modify",
      "old_id": "dea3289699c2bd17b40da588c8a01c4662da260d",
      "old_mode": 33188,
      "old_path": "tempest/lib/exceptions.py",
      "new_id": "68ce57a6ef30241ab7676a7b56f2219260105f22",
      "new_mode": 33188,
      "new_path": "tempest/lib/exceptions.py"
    },
    {
      "type": "modify",
      "old_id": "faafb4a5e7ff310e78af9ee9a59357f659e08a25",
      "old_mode": 33188,
      "old_path": "tempest/lib/services/image/v1/images_client.py",
      "new_id": "42f8cf212f3233c1aec78cd63ef34fc4906b590d",
      "new_mode": 33188,
      "new_path": "tempest/lib/services/image/v1/images_client.py"
    },
    {
      "type": "modify",
      "old_id": "052033d41072263e6d842ff111520deeb0f1fef3",
      "old_mode": 33188,
      "old_path": "tempest/test.py",
      "new_id": "ca41e08ea124fc183f63fdf63ac064022ec29e3e",
      "new_mode": 33188,
      "new_path": "tempest/test.py"
    }
  ]
}
