~ubuntu-branches/ubuntu/trusty/cinder/trusty

« back to all changes in this revision

Viewing changes to cinder/openstack/common/context.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-03-25 08:30:42 UTC
  • mfrom: (10.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130325083042-4c9f80w7t98klicf
Tags: 1:2013.1~rc2-0ubuntu2
debian/rules: Fix FTBFS, we want '-v' and not '-V'. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# vim: tabstop=4 shiftwidth=4 softtabstop=4
2
2
 
3
 
# Copyright 2011 OpenStack LLC.
 
3
# Copyright 2011 OpenStack Foundation.
4
4
# All Rights Reserved.
5
5
#
6
6
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
37
37
    accesses the system, as well as additional request information.
38
38
    """
39
39
 
40
 
    def __init__(self, auth_tok=None, user=None, tenant=None, is_admin=False,
 
40
    def __init__(self, auth_token=None, user=None, tenant=None, is_admin=False,
41
41
                 read_only=False, show_deleted=False, request_id=None):
42
 
        self.auth_tok = auth_tok
 
42
        self.auth_token = auth_token
43
43
        self.user = user
44
44
        self.tenant = tenant
45
45
        self.is_admin = is_admin
55
55
                'is_admin': self.is_admin,
56
56
                'read_only': self.read_only,
57
57
                'show_deleted': self.show_deleted,
58
 
                'auth_token': self.auth_tok,
 
58
                'auth_token': self.auth_token,
59
59
                'request_id': self.request_id}
60
60
 
61
61