commit | 12471d63893f84cb88deccf83af5aa5c6866c275 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Feb 20 02:11:43 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Feb 20 02:11:43 2003 +0000 |
tree | 19bda5140b1d4b882cd03bc7b40bb69bf7ac8c62 | |
parent | af160659184f1d551621c70b2979ce5ce56e7fff [diff] |
Don't use self.announce() in a function that's not a method. Use level=3 (i.e. log.WARN) for the warnings about failed imports. (Hmm... Why is that code in an "if 1: ..."? What's the else branch for?)