~ubuntu-branches/ubuntu/oneiric/keystone/oneiric-proposed

« back to all changes in this revision

Viewing changes to keystone/manage/api.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Dan Prince
  • Date: 2011-09-09 16:25:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110909162530-vzcdqp4l4aalfs5k
Tags: 1.0~d4~20110909.1108-0ubuntu1
[Chuck Short]
* New upstream release.
* debian/control:
  + Bump standards to 3.9.2.
  + Fix lintian warnings.
  + Update maintainer.
* debian/rules: Dont fail to build if tests fail.

[Dan Prince]
* Fix debian/rules file so it works with nodoc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
        obj.user_id = user
237
237
        obj.type = type
238
238
        obj.key = key
239
 
        obj.secret = secret
 
239
        obj.secret = secrete
240
240
        obj.tenant_id = tenant
241
241
        db_api.CREDENTIALS.create(obj)
242
242
        return obj
243
243
    except:
244
 
        raise Exception("Failed to create credentials %s" % (object_id,),
 
244
        raise Exception("Failed to create credentials %s" % (user,),
245
245
            sys.exc_info())