commit | 9e362d3cb4a4893d889e31c3ab155e0ca61b4939 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Mon Jun 01 20:34:03 2015 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Jun 01 20:34:03 2015 -0700 |
tree | c36be3a91d628e966e8633f0cf66a53ccf44b3ac | |
parent | cdf4714026985e290ceef6aff9edb8d2a646b7d4 [diff] |
return user on update_user function
diff --git a/xos/cord/models.py b/xos/cord/models.py index 58d1a97..37b9bd9 100644 --- a/xos/cord/models.py +++ b/xos/cord/models.py
@@ -402,7 +402,7 @@ for arg in kwargs.keys(): user[arg] = kwargs[arg] self.users = users - return + return user raise ValueError("User %d not found" % uid) def create_user(self, **kwargs):