diff options
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 8004982..0112ddc 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -192,7 +192,7 @@ class IMAP4: if __debug__: if self.debug >= 3: - self._mesg('CAPABILITIES: %s' % `self.capabilities`) + self._mesg('CAPABILITIES: %r' % (self.capabilities,)) for version in AllowedVersions: if not version in self.capabilities: @@ -972,7 +972,7 @@ class IMAP4: self.mo = cre.match(s) if __debug__: if self.mo is not None and self.debug >= 5: - self._mesg("\tmatched r'%s' => %s" % (cre.pattern, `self.mo.groups()`)) + self._mesg("\tmatched r'%s' => %r" % (cre.pattern, self.mo.groups())) return self.mo is not None @@ -1416,7 +1416,7 @@ if __name__ == '__main__': if M.state == 'AUTH': test_seq1 = test_seq1[1:] # Login not needed M._mesg('PROTOCOL_VERSION = %s' % M.PROTOCOL_VERSION) - M._mesg('CAPABILITIES = %s' % `M.capabilities`) + M._mesg('CAPABILITIES = %r' % (M.capabilities,)) for cmd,args in test_seq1: run(cmd, args) |