1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00

- fix creator name in forwarded requests

This commit is contained in:
Adrian Schröter 2012-06-30 11:20:12 +02:00
parent 559409a880
commit 52014ba11e

View File

@ -2194,7 +2194,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
print "/", package, print "/", package,
repl = raw_input('\nForward this submit to it? ([y]/n)') repl = raw_input('\nForward this submit to it? ([y]/n)')
if repl.lower() == 'y' or repl == '': if repl.lower() == 'y' or repl == '':
msg = cgi.escape("%s (forwarded request %s from %s)" % ( rq.description, reqid, rq.get_creator)) msg = "%s (forwarded request %s from %s)" % ( rq.description, reqid, rq.get_creator())
print msg
rid = create_submit_request(apiurl, action.tgt_project, action.tgt_package, rid = create_submit_request(apiurl, action.tgt_project, action.tgt_package,
project, package, msg) project, package, msg)
print "New request #", rid print "New request #", rid