PR#3657: Fix callnum handling
Merges #3657 https://pagure.io/koji/pull-request/3657 Fixes #3658 https://pagure.io/koji/issue/3658
This commit is contained in:
commit
6cb430833d
1 changed files with 2 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ class Session(object):
|
|||
update = UpdateProcessor('sessions', rawdata={'callnum': callnum},
|
||||
clauses=['id = %(id)i'], values={'id': id})
|
||||
update.execute()
|
||||
# we only want to commit the callnum change if there are other commits
|
||||
context.commit_pending = False
|
||||
|
||||
# record the login data
|
||||
self.id = id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue