@@ -99,6 +99,7 @@
def ssh_key_validator(form, field):
+ ''' Form for ssh key validation '''
you have made these same changes in #1950
if not pagure.lib.are_valid_ssh_keys(field.data):
raise wtforms.ValidationError('Invalid SSH keys')
@@ -3425,6 +3425,9 @@
user_obj = get_user(session, user)
+ if project.user_id == user_obj.id:
+ return 'You cannot Unwatch your own fork.'
if not user_obj:
'No user with username: %s' % user)
One of the two commit message needs to be re-worded
2 new commits added
@pingou I changed the commit message.
I'm not seeing the new commit, did you push?
I'm going to close this PR, please reopen it when your changes are ready to be reviewed :)
Pull-Request has been closed by pingou
Copyright © 2014-2017 Red Hat
3.10.1 — Documentation