Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Fixed naming bug in nimbusrest client.
Browse files Browse the repository at this point in the history
  • Loading branch information
labisso committed Feb 11, 2010
1 parent 7209888 commit 48635d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/python/nimbusrest/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class User(object):
def __init__(self, dn, conn=None, user_id=None):
self.dn = dn
self.conn = conn
self.user_id = id
self.user_id = user_id

def get_access_key(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion web/src/python/nimbusrest/admin/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_user(self, user_id):
return self._user_from_data(u)

def _user_from_data(self, data):
return User(data['dn'], conn=self, id=data['id'])
return User(data['dn'], conn=self, user_id=data['id'])

def get_user_access_key(self, user_id):
"""
Expand Down

0 comments on commit 48635d9

Please sign in to comment.