1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 21:58:41 +02:00

- yet another fix for the previous commit

This commit is contained in:
Marcus Huewe
2013-11-15 11:42:58 +01:00
parent b2493a25ae
commit 73048d1159

View File

@@ -1410,7 +1410,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
user = conf.get_apiurl_usr(apiurl)
myreqs = [ i for i in reqs if i.state.who == user ]
repl = 'y'
if len(myreqs) > 0:
if len(myreqs) > 0 and not opts.yes:
print('You already created the following submit request: %s.' % \
', '.join([i.reqid for i in myreqs ]))
repl = raw_input('Supersede the old requests? (y/n/c) ')