#1941 Add Docstring for ssh_key_validation
Merged 2 years ago by pingou. Opened 2 years ago by shivani1706.
shivani1706/pagure fix-doc  into  master

file modified
+1

@@ -99,6 +99,7 @@ 

  

  

  def ssh_key_validator(form, field):

+     ''' Form for ssh key validation '''

      if not pagure.lib.are_valid_ssh_keys(field.data):

          raise wtforms.ValidationError('Invalid SSH keys')

  

no initial comment

Pull-Request has been merged by pingou

2 years ago