summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-02-16 08:13:34 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2013-02-16 08:13:34 +0100
commit938b1e68af154ffaca825662a5f5927adbecf706 (patch)
tree54b7923d1b812e9f1dea2d086d3016fd1275b0ce /gitlab.py
parent523d764e39c1a5a27362a5b2245a572a39e0d292 (diff)
downloadgitlab-938b1e68af154ffaca825662a5f5927adbecf706.tar.gz
fix the token authentication
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index f0d30d3..fc965de 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -93,7 +93,7 @@ class Gitlab(object):
def token_auth(self):
try:
- self.user = self.get(CurrentUser)
+ self.user = CurrentUser(self)
return True
except:
return False