PR#3659: rawdata not needed for callnum update
Merges #3659 https://pagure.io/koji/pull-request/3659
This commit is contained in:
commit
e0b48d3eb4
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class Session(object):
|
|||
# update callnum (this is deliberately after the commit)
|
||||
# see earlier note near RetryError
|
||||
if callnum is not None:
|
||||
update = UpdateProcessor('sessions', rawdata={'callnum': callnum},
|
||||
update = UpdateProcessor('sessions', data={'callnum': callnum},
|
||||
clauses=['id = %(id)i'], values={'id': id})
|
||||
update.execute()
|
||||
# we only want to commit the callnum change if there are other commits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue