use stats from arg

This commit is contained in:
Alan Hamlett 2014-12-22 00:42:42 -06:00
parent 8439f3a56e
commit c5e8c1bb31
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class Queue(object):
return (conn, c)
def push(self, data, plugin, misc=None):
def push(self, data, stats, plugin, misc=None):
if not HAS_SQL:
return
try:
@ -56,7 +56,7 @@ class Queue(object):
'project': data.get('project'),
'branch': data.get('branch'),
'is_write': 1 if data.get('is_write') else 0,
'stats': data.get('stats'),
'stats': stats,
'misc': misc,
'plugin': plugin,
}