~ubuntu-branches/ubuntu/trusty/python-keystoneclient/trusty-proposed

« back to all changes in this revision

Viewing changes to keystoneclient/access.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-03-27 12:08:28 UTC
  • mfrom: (1.1.26)
  • Revision ID: package-import@ubuntu.com-20140327120828-yu3vm5g1v1pkl93w
Tags: 1:0.7.1-ubuntu1
New upstream release. (LP: #1298453)

Show diffs side-by-side

added added

removed removed

Lines of Context:
530
530
 
531
531
    @property
532
532
    def role_names(self):
533
 
        return [r['name'] for r in self['user'].get('roles', [])]
 
533
        return [r['name'] for r in self.get('roles', [])]
534
534
 
535
535
    @property
536
536
    def username(self):