summaryrefslogtreecommitdiff
path: root/pygerrit
diff options
context:
space:
mode:
Diffstat (limited to 'pygerrit')
-rw-r--r--pygerrit/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygerrit/models.py b/pygerrit/models.py
index 22716ec..16a45d3 100644
--- a/pygerrit/models.py
+++ b/pygerrit/models.py
@@ -33,6 +33,7 @@ class Account(object):
def __init__(self, json_data):
self.name = from_json(json_data, "name")
self.email = from_json(json_data, "email")
+ self.username = from_json(json_data, "username")
def __repr__(self):
return u"<Account %s%s>" % (self.name,