diff options
author | termie <github@anarkystic.com> | 2011-04-20 12:08:22 -0700 |
---|---|---|
committer | termie <github@anarkystic.com> | 2011-04-20 12:08:22 -0700 |
commit | f69600e1844898bd48dc8f615c6684044d9aebe0 (patch) | |
tree | bc628e8df83a1ec21cbfaed4c216da2fc49d7c08 /nova/context.py | |
parent | 1a814ba56a696ce796ab7707eacc2ee065c448e8 (diff) | |
download | nova-f69600e1844898bd48dc8f615c6684044d9aebe0.tar.gz nova-f69600e1844898bd48dc8f615c6684044d9aebe0.tar.xz nova-f69600e1844898bd48dc8f615c6684044d9aebe0.zip |
docstring cleanup, nova dir
Diffstat (limited to 'nova/context.py')
-rw-r--r-- | nova/context.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nova/context.py b/nova/context.py index 0256bf448..c113f7ea7 100644 --- a/nova/context.py +++ b/nova/context.py @@ -16,9 +16,7 @@ # License for the specific language governing permissions and limitations # under the License. -""" -RequestContext: context for requests that persist through all of nova. -""" +"""RequestContext: context for requests that persist through all of nova.""" import datetime import random @@ -28,6 +26,12 @@ from nova import utils class RequestContext(object): + """Security context and request information. + + Represents the user taking a given action within the system. + + """ + def __init__(self, user, project, is_admin=None, read_deleted=False, remote_address=None, timestamp=None, request_id=None): if hasattr(user, 'id'): |