Wake up!
This commit is contained in:
parent
165020823d
commit
9916019c9c
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ class CLA(controllers.Controller):
|
||||||
data = StringIO.StringIO(signature.file.read())
|
data = StringIO.StringIO(signature.file.read())
|
||||||
plaintext = StringIO.StringIO()
|
plaintext = StringIO.StringIO()
|
||||||
verified = False
|
verified = False
|
||||||
ret = subprocess.check_call([config.get('gpgexec'), '--keyserver', config.get('gpg_keyserver'), '--recv-keys', person.gpg_keyid])
|
ret = subprocess.call([config.get('gpgexec'), '--keyserver', config.get('gpg_keyserver'), '--recv-keys', person.gpg_keyid])
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
turbogears.flash(_("Your key could not be retrieved from subkeys.pgp.net"))
|
turbogears.flash(_("Your key could not be retrieved from subkeys.pgp.net"))
|
||||||
turbogears.redirect('/cla/view/sign')
|
turbogears.redirect('/cla/view/sign')
|
||||||
|
|
|
@ -384,7 +384,7 @@ Please go to https://admin.fedoraproject.org/fas/ to change it.
|
||||||
# CLA one), think of how to make sure this doesn't get
|
# CLA one), think of how to make sure this doesn't get
|
||||||
# full of random keys (keep a clean Fedora keyring)
|
# full of random keys (keep a clean Fedora keyring)
|
||||||
# TODO: MIME stuff?
|
# TODO: MIME stuff?
|
||||||
ret = subprocess.check_call([config.get('gpgexec'), '--keyserver', config.get('gpg_keyserver'), '--recv-keys', person.gpg_keyid])
|
ret = subprocess.call([config.get('gpgexec'), '--keyserver', config.get('gpg_keyserver'), '--recv-keys', person.gpg_keyid])
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
turbogears.flash(_("Your key could not be retrieved from subkeys.pgp.net"))
|
turbogears.flash(_("Your key could not be retrieved from subkeys.pgp.net"))
|
||||||
turbogears.redirect('/cla/view/sign')
|
turbogears.redirect('/cla/view/sign')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue