From 67342629e9412d61fdcfd5a45975d913ebad9850 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 20 2017 08:49:48 +0000 Subject: Fix indentation of the docstring --- diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index 6e32617..46c7640 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -192,7 +192,7 @@ def search_user(session, username=None, email=None, token=None, pattern=None): def is_valid_ssh_key(key): -""" Validates the ssh key using ssh-keygen. """ + """ Validates the ssh key using ssh-keygen. """ key = key.strip() if not key: return None @@ -211,7 +211,7 @@ def is_valid_ssh_key(key): def are_valid_ssh_keys(keys): -""" Checks if all the ssh keys are valid or not. """ + """ Checks if all the ssh keys are valid or not. """ return all([is_valid_ssh_key(key) is not False for key in keys.split('\n')])