~gandelman-a/charms/precise/keystone/db_recreate_services

Viewing all changes in revision 36.

  • Committer: Adam Gandelman
  • Date: 2012-09-20 18:15:58 UTC
  • Revision ID: adamg@canonical.com-20120920181558-khdbh1giu3ubcujv
hooks/utils.py: Avoid another duplicate role assignment in create_role().

Do not add role directly through API in create_role().  Use grant_role()
utility function instead, which checks for duplicate assignments.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: