Message752

Author leouserz
Recipients
Date 2007-01-15.18:35:36
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Is there a test case for this? The current implementation looks ok to me:
    def close(self):

        if not self.sock:

            return

        sock = self.sock

        self.sock = 0

        sock.close()


get rid of self.sock, then close out the local "sock".  Maybe this should just be closed?
History
Date User Action Args
2008-02-20 17:17:10adminlinkissue621180 messages
2008-02-20 17:17:10admincreate