| OLD | NEW |
| 1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
| 2 # The Original Code is Mozilla Communicator client code. | 2 # The Original Code is Mozilla Communicator client 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) 1998 | 6 # Portions created by the Initial Developer are Copyright (C) 1998 |
| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 (prober.get_charset_name(), cf)) | 97 (prober.get_charset_name(), cf)) |
| 98 if bestConf < cf: | 98 if bestConf < cf: |
| 99 bestConf = cf | 99 bestConf = cf |
| 100 self._mBestGuessProber = prober | 100 self._mBestGuessProber = prober |
| 101 if not self._mBestGuessProber: | 101 if not self._mBestGuessProber: |
| 102 return 0.0 | 102 return 0.0 |
| 103 return bestConf | 103 return bestConf |
| 104 # else: | 104 # else: |
| 105 # self._mBestGuessProber = self._mProbers[0] | 105 # self._mBestGuessProber = self._mProbers[0] |
| 106 # return self._mBestGuessProber.get_confidence() | 106 # return self._mBestGuessProber.get_confidence() |
| OLD | NEW |