imh

Check-in [5b2bc8a217]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:maplib2 doesn't like utf hostnames
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:5b2bc8a217d28c9c9f1b945187503f81f0fce8f06d011eb25993bf846a909bda
User & Date: ajv-899-334-8894@vsta.org 2016-11-26 22:57:26
Context
2016-11-26
22:57
Duh. check-in: cd527df803 user: ajv-899-334-8894@vsta.org tags: master, trunk
22:57
maplib2 doesn't like utf hostnames check-in: 5b2bc8a217 user: ajv-899-334-8894@vsta.org tags: master, trunk
2016-11-22
22:19
Fail back to "now" on un-parseable header date/time check-in: b658d08d61 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to imh.py.

522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
        else:
            self.state = st
            self.cfg = cfg = st["config"]
        self.changed = False

        # Connect to our imap server
        if self.need_server():
            srv = self.server = imaplib.IMAP4_SSL(cfg["server"])
            srv.login(cfg["user"], cfg["password"])
        else:
            self.server = None

        # Parse command line
        self.flags = set()
        self.opts = {}







|







522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
        else:
            self.state = st
            self.cfg = cfg = st["config"]
        self.changed = False

        # Connect to our imap server
        if self.need_server():
            srv = self.server = imaplib.IMAP4_SSL(str(cfg["server"]))
            srv.login(cfg["user"], cfg["password"])
        else:
            self.server = None

        # Parse command line
        self.flags = set()
        self.opts = {}