~witsch/divmod.org/Pyflakes

Viewing all changes in revision 2693.

  • Committer: Jean-Paul Calderone
  • Date: 2012-07-01 11:47:51 UTC
  • mfrom: (2692.1.3 pop3-timeouts)
  • Revision ID: exarkun@twistedmatrix.com-20120701114751-ohwq13ndxkg5i87s
Fix an unhandled exception in the POP3 grabber timeout case.

Previously the POP3 grabber would fail with an AttributeError if a timeout occurred on the
POP3 connection.  This was caused by trying to set the status on the grabber object after
the reference to the grabber object had been discarded.  When trying to set the status, the
code now first checks to see if a grabber object is available to do that.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: