1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-23 02:32:13 +01:00

fix add_me request

This commit is contained in:
Adrian Schröter 2011-01-12 11:29:46 +01:00
parent c226327ae5
commit f729ea8e38

View File

@ -1249,8 +1249,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
apiurl = self.get_api_url()
user = conf.get_apiurl_usr(apiurl)
role = args[1]
project = args[2]
role = args[0]
project = args[1]
actionxml = """ <action type="add_role"> <target project="%s" /> <person name="%s" role="%s" /> </action> """ % \
(project, user, role)