summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-05-20 10:59:46 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-05-20 10:59:46 +0000
commite8f7c8bf87b8fd06199be9c3990145b36b7a4227 (patch)
tree29f2a0459edc13f0af5e995e24160fc8c77dbb01
parentf859bad02c38ba5b30feef13c3bfe9cf981ba7a9 (diff)
oestats-client.bbclass: add the DEPENDS variable to task reports
-rw-r--r--classes/oestats-client.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass
index 63380328bc..c05ede481f 100644
--- a/classes/oestats-client.bbclass
+++ b/classes/oestats-client.bbclass
@@ -44,7 +44,7 @@ def oestats_send(server, action, vars = {}, files = {}):
# build headers
headers = {
- "User-agent": "oestats-client/0.2",
+ "User-agent": "oestats-client/0.3",
"Content-type": "multipart/form-data; boundary=%s" % bound,
"Content-length": str(len(body))}
@@ -135,6 +135,7 @@ def oestats_task(server, d, task, status):
'package': bb.data.getVar('PN', d, True),
'version': bb.data.getVar('PV', d, True),
'revision': bb.data.getVar('PR', d, True),
+ 'depends': bb.data.getVar('DEPENDS', d, True),
'task': task,
'status': status,
'time': str(elapsed),