← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1413538] Re: untested or excessive dict comprehension

 

Marking as invalid since this should have expired as incomplete long
ago.

** Changed in: keystone
       Status: Incomplete => Invalid

** Changed in: keystone
     Assignee: Boris Bobrov (bbobrov) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1413538

Title:
  untested or excessive dict comprehension

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  in keystone/contrib/federation/utils.py
          def extract_groups(groups_by_domain):
              for groups in groups_by_domain.values():
                  for group in {g['name']: g for g in groups}.values():         >>>>>>>>>>>>>> this is invalid syntax in python 2.6
                      yield group

          # initialize the group_ids as a set to eliminate duplicates
          user_name = None

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1413538/+subscriptions


References