mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-28 19:01:35 +00:00
run-autopkgtest: Pass SUDO_USER as the requester if it's set
No place to hide
This commit is contained in:
parent
100a3f4e90
commit
c3fe5dc897
@ -130,6 +130,10 @@ if __name__ == '__main__':
|
|||||||
context = 'upstream-'
|
context = 'upstream-'
|
||||||
if args.all_proposed:
|
if args.all_proposed:
|
||||||
params['all-proposed'] = True
|
params['all-proposed'] = True
|
||||||
|
try:
|
||||||
|
params['requester'] = os.environ['SUDO_USER']
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
params = '\n' + json.dumps(params)
|
params = '\n' + json.dumps(params)
|
||||||
|
|
||||||
creds = urllib.parse.urlsplit(config.adt_amqp, allow_fragments=False)
|
creds = urllib.parse.urlsplit(config.adt_amqp, allow_fragments=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user