PR#1941 Merged Add Docstring for ssh_key_validation

Proposed 7 months ago by shivani1706
Modified 7 months ago
From forks/shivani1706/pagure fix-doc  into pagure master
file changed

@@ -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')

  
7 months ago

Pull-Request has been merged by pingou

Changes summary
+1 -0
file changed