[PATCH 1/2] IMAP4_Tunnel constructor should support base-class	arguments
    Ethan Glasser-Camp 
    ethan at betacantrips.com
       
    Mon Apr 11 11:14:29 BST 2011
    
    
  
---
 offlineimap/imaplibutil.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/offlineimap/imaplibutil.py b/offlineimap/imaplibutil.py
index 14b11c2..da0438c 100644
--- a/offlineimap/imaplibutil.py
+++ b/offlineimap/imaplibutil.py
@@ -67,8 +67,8 @@ class IMAP4_Tunnel(UsefulIMAPMixIn, IMAP4):
     tunnelcmd -- shell command to generate the tunnel.
     The result will be in PREAUTH stage."""
 
-    def __init__(self, tunnelcmd):
-        IMAP4.__init__(self, tunnelcmd)
+    def __init__(self, tunnelcmd, **kwargs):
+        IMAP4.__init__(self, tunnelcmd, **kwargs)
 
     def open(self, host, port):
         """The tunnelcmd comes in on host!"""
-- 
1.7.1
    
    
More information about the OfflineIMAP-project
mailing list