def grab_certbot_log():
 sudo('if [ -f /var/log/letsencrypt/letsencrypt.log ]; then     cat /var/log/letsencrypt/letsencrypt.log; else echo "[novarlog]"; fi')
 sudo('if [ -f ./certbot.log ]; then     cat ./certbot.log; else echo "[nolocallog]"; fi')

def grab_certbot_log ( ) : sudo ( 'if [ -f /var/log/letsencrypt/letsencrypt.log ]; then     cat /var/log/letsencrypt/letsencrypt.log; else echo "[novarlog]"; fi' ) sudo ( 'if [ -f ./certbot.log ]; then     cat ./certbot.log; else echo "[nolocallog]"; fi' )
grabs letsencrypt .