]> khamidou — GitHub mirrors - imapclient.git/commitdiff
Set new options when using imapclient.interact
authorMenno Smits <menno@freshfoo.com>
Tue, 28 Jul 2015 03:10:49 +0000 (15:10 +1200)
committerMenno Smits <menno@freshfoo.com>
Tue, 28 Jul 2015 03:10:49 +0000 (15:10 +1200)
imapclient/interact.py

index 616bc516959d6a4d78f234fafb461088cc01c594..f6d754d661a308d762e97ed818e2a73a8b517104 100644 (file)
@@ -43,6 +43,10 @@ def command_line():
             if not getattr(opts, opt_name):
                 setattr(opts, opt_name, getpass(opt_name + ': '))
         # Options not supported on the command line
+        opts.ssl_check_hostname = False
+        opts.ssl_verify_cert = False
+        opts.ssl_ca_file = None
+        opts.starttls = False
         opts.oauth = False
         opts.oauth2 = False
         opts.stream = False