{"push_id":540914945,"size":1,"distinct_size":1,"ref":"refs/heads/icehouse","head":"02385e3b836ace36c75275087dfb4f34f4e58e87","before":"621f8aa496f0bc9dbe2d0a233c52b5ab3cc0cd26","commits":[{"sha":"02385e3b836ace36c75275087dfb4f34f4e58e87","author":{"email":"62cd75ccdf2d0b7a5bae5bcbffcdffaa71fc5862@gmail.com","name":"Daniel Lorch"},"message":"Fix project dictionary access\n\nThe `project` variable returned by the SQL backend is a dictionary (as\nopposed to a proper model in the LDAP backend). Verified in icehouse\nand juno.\n\n  [-] 'dict' object has no attribute 'id'\n  Traceback (most recent call last):\n    File \"/usr/lib/python2.7/site-packages/keystone/common/wsgi.py\", line 223, in __call__\n      result = method(context, **params)\n    File \"/usr/lib/python2.7/site-packages/keystone/assignment/controllers.py\", line 81, in get_projects_for_token\n      self.assignment_api.list_projects_for_user(token_ref.user_id))\n    File \"/usr/lib/python2.7/site-packages/keystone/assignment/core.py\", line 309, in list_projects_for_user\n      user_id, group_ids, hints or driver_hints.Hints())\n    File \"/usr/lib/python2.7/site-packages/keystone/assignment/backends/hybrid_assignment.py\", line 101, in list_projects_for_user\n      if project.id == self.default_project_id:\n  AttributeError: 'dict' object has no attribute 'id'","distinct":true,"url":"https://api.github.com/repos/dlorch/keystone-hybrid-backend/commits/02385e3b836ace36c75275087dfb4f34f4e58e87"}]}