summaryrefslogtreecommitdiff
path: root/lang/python/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/patches/patch-ao')
-rw-r--r--lang/python/patches/patch-ao12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python/patches/patch-ao b/lang/python/patches/patch-ao
new file mode 100644
index 00000000000..a21d40e05e6
--- /dev/null
+++ b/lang/python/patches/patch-ao
@@ -0,0 +1,12 @@
+--- Lib/imaplib.py.orig Sat Apr 11 05:11:51 1998
++++ Lib/imaplib.py Wed May 6 23:27:32 1998
+@@ -275,9 +275,6 @@
+
+ (typ, [data]) = <instance>.list(user, password)
+ """
+- if not 'AUTH=LOGIN' in self.capabilities \
+- and not 'AUTH-LOGIN' in self.capabilities:
+- raise self.error("server doesn't allow LOGIN authorisation")
+ typ, dat = self._simple_command('LOGIN', user, password)
+ if typ != 'OK':
+ raise self.error(dat)