@@ -96,14 +96,14 @@ def __init__(self, host, port = POP3_PORT):
9696
9797
9898 def _putline (self , line ):
99- # if self._debugging > 1: print '*put*', `line`
99+ if self ._debugging > 1 : print '*put*' , `line`
100100 self .sock .send ('%s%s' % (line , CRLF ))
101101
102102
103103 # Internal: send one command to the server (through _putline())
104104
105105 def _putcmd (self , line ):
106- # if self._debugging: print '*cmd*', `line`
106+ if self ._debugging : print '*cmd*' , `line`
107107 self ._putline (line )
108108
109109
@@ -113,7 +113,7 @@ def _putcmd(self, line):
113113
114114 def _getline (self ):
115115 line = self .file .readline ()
116- # if self._debugging > 1: print '*get*', `line`
116+ if self ._debugging > 1 : print '*get*' , `line`
117117 if not line : raise error_proto ('-ERR EOF' )
118118 octets = len (line )
119119 # server can send any combination of CR & LF
@@ -131,7 +131,7 @@ def _getline(self):
131131
132132 def _getresp (self ):
133133 resp , o = self ._getline ()
134- # if self._debugging > 1: print '*resp*', `resp`
134+ if self ._debugging > 1 : print '*resp*' , `resp`
135135 c = resp [:1 ]
136136 if c != '+' :
137137 raise error_proto (resp )
@@ -205,7 +205,7 @@ def stat(self):
205205 """
206206 retval = self ._shortcmd ('STAT' )
207207 rets = retval .split ()
208- # if self._debugging: print '*stat*', `rets`
208+ if self ._debugging : print '*stat*' , `rets`
209209 numMessages = int (rets [1 ])
210210 sizeMessages = int (rets [2 ])
211211 return (numMessages , sizeMessages )
0 commit comments