Remove redundant 'import sys' (PyChecker).
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 7c28d03..c82b455 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -1118,7 +1118,7 @@
 
 if __name__ == '__main__':
 
-    import getopt, getpass, sys
+    import getopt, getpass
 
     try:
         optlist, args = getopt.getopt(sys.argv[1:], 'd:')