Changes between Version 260 and Version 261 of WikiStart


Ignore:
Timestamp:
01/09/2016 04:02:59 PM (3 years ago)
Author:
Glyph
Comment:

One fewer line in imap4 example.

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v260 v261  
    221221         strport="ssl:host=example.com:port=993"):
    222222    endpoint = endpoints.clientFromString(reactor, strport)
    223     factory = protocol.Factory()
    224     factory.protocol = imap4.IMAP4Client
     223    factory = protocol.Factory.forProtocol(imap4.IMAP4Client)
    225224    try:
    226225        client = yield endpoint.connect(factory)