| OLD | NEW |
| 1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
| 2 # The Original Code is Mozilla Universal charset detector code. | 2 # The Original Code is Mozilla Universal charset detector code. |
| 3 # | 3 # |
| 4 # The Initial Developer of the Original Code is | 4 # The Initial Developer of the Original Code is |
| 5 # Netscape Communications Corporation. | 5 # Netscape Communications Corporation. |
| 6 # Portions created by the Initial Developer are Copyright (C) 2001 | 6 # Portions created by the Initial Developer are Copyright (C) 2001 |
| 7 # the Initial Developer. All Rights Reserved. | 7 # the Initial Developer. All Rights Reserved. |
| 8 # | 8 # |
| 9 # Contributor(s): | 9 # Contributor(s): |
| 10 # Mark Pilgrim - port to Python | 10 # Mark Pilgrim - port to Python |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 return self.result | 163 return self.result |
| 164 | 164 |
| 165 if constants._debug: | 165 if constants._debug: |
| 166 sys.stderr.write('no probers hit minimum threshhold\n') | 166 sys.stderr.write('no probers hit minimum threshhold\n') |
| 167 for prober in self._mCharSetProbers[0].mProbers: | 167 for prober in self._mCharSetProbers[0].mProbers: |
| 168 if not prober: | 168 if not prober: |
| 169 continue | 169 continue |
| 170 sys.stderr.write('%s confidence = %s\n' % | 170 sys.stderr.write('%s confidence = %s\n' % |
| 171 (prober.get_charset_name(), | 171 (prober.get_charset_name(), |
| 172 prober.get_confidence())) | 172 prober.get_confidence())) |
| OLD | NEW |