From de8a5131d15a780479a52ff92227eb9fb6d384a1 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Wed, 17 Apr 2019 14:21:55 +0200 Subject: [PATCH] Add some types --- certbot/compat/misc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certbot/compat/misc.py b/certbot/compat/misc.py index c20ff804a..8814e53f8 100644 --- a/certbot/compat/misc.py +++ b/certbot/compat/misc.py @@ -71,6 +71,7 @@ def os_rename(src, dst): def readline_with_timeout(timeout, prompt): + # type: (float, str) -> str """ Read user input to return the first line entered, or raise after specified timeout. @@ -122,6 +123,7 @@ LINUX_DEFAULT_FOLDERS = { def get_default_folder(folder_type): + # type: (str) -> str """ Return the relevant default folder for the current OS