diff options
author | Will Woods <wwoods@redhat.com> | 2009-09-18 17:24:26 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2009-09-18 17:24:26 -0400 |
commit | f656bcc7f46ffcbaa5e5b565c062a899e7dc12d4 (patch) | |
tree | d6ba4dc49bc39a0ed6758c93d0f95c197f62c7c8 | |
parent | 2ff450618b3363c400ff1d64c9639a005f227f4b (diff) | |
download | israwhidebroken-f656bcc7f46ffcbaa5e5b565c062a899e7dc12d4.tar.gz israwhidebroken-f656bcc7f46ffcbaa5e5b565c062a899e7dc12d4.tar.xz israwhidebroken-f656bcc7f46ffcbaa5e5b565c062a899e7dc12d4.zip |
Fix user_id in TestResult (should be user.id)
-rw-r--r-- | israwhidebroken/controllers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/israwhidebroken/controllers.py b/israwhidebroken/controllers.py index 8e666ca..6c2797b 100644 --- a/israwhidebroken/controllers.py +++ b/israwhidebroken/controllers.py @@ -74,7 +74,7 @@ class Root(controllers.RootController): tr = TestResult(tree=to_int(treeid), test=to_int(testid), result=to_int(result), - userid=identity.current.user_id, + userid=identity.current.user.id, bug_id=None) hub.commit() # XXX necessary? return dict(id=tr.id) |