[sysadmin-bin] Fix import and leftover



commit 737b3ff9741422b1830ef9c72d29ad6f024d8b16
Author: Andrea Veri <averi redhat com>
Date:   Thu Nov 12 19:21:21 2020 +0100

    Fix import and leftover

 reset-my-password.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/reset-my-password.py b/reset-my-password.py
index 23137d2..870fc8c 100755
--- a/reset-my-password.py
+++ b/reset-my-password.py
@@ -5,7 +5,7 @@ import smtplib
 import sys
 import os
 
-from email.MIMEText import MIMEText
+from email.mime.text import MIMEText
 import gnome_ldap_utils as Glu
 
 exec(open('/home/admin/secret/freeipa_rw_resets').read())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]