]> git.pld-linux.org Git - projects/pld-builder.new.git/commit
Fix change_request option for multiple subsequent requests
authorKacper Kornet <draenog@pld-linux.org>
Mon, 8 Apr 2013 01:33:39 +0000 (02:33 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 8 Apr 2013 08:41:25 +0000 (09:41 +0100)
commit854eb7784b6d20c8f642c26f58ba4bbbc3be8228
treefaab4b1a3d5a635258e2fa598ff7009a6e97994c
parentcba0beaa63ef45c7e698815e2552f5c641eeeb6b
Fix change_request option for multiple subsequent requests

In previous version on every request from user with change_request=True,
its login was potentially prefixed with the real requester. It could
produced undesirable result on subsequent requests as the user database
is not reinitialized between requests. This commit fixes it by earlier
setting r.requester{,_email} and using the second one as the address to
which send emails about errors with privs.
PLD_Builder/request_handler.py
This page took 0.168306 seconds and 4 git commands to generate.