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

Make 'trust always' more verbose, so that a user learns how to undo its effect.

Removed a few tabs.
This commit is contained in:
Juergen Weigert 2010-06-29 15:32:53 +02:00
parent 2ec85b7548
commit 382dd29e03
2 changed files with 5 additions and 4 deletions

View File

@ -335,6 +335,7 @@ def check_trusted_projects(apiurl, projects):
print "Note that malicious packages can compromise the build result or even your system."
r = raw_input(trustprompt % { 'project':prj })
if r == '1':
print "adding '%s' to ~/.oscrc: ['%s']['trusted_prj']" % (prj,apiurl)
trusted.append(prj)
elif r != '2':
print "Well, good good bye then :-)"