OLD | NEW |
1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
2 # The Original Code is mozilla.org code. | 2 # The Original Code is mozilla.org 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 self._mActiveSM -= 1 | 77 self._mActiveSM -= 1 |
78 if self._mActiveSM <= 0: | 78 if self._mActiveSM <= 0: |
79 self._mState = constants.eNotMe | 79 self._mState = constants.eNotMe |
80 return self.get_state() | 80 return self.get_state() |
81 elif codingState == constants.eItsMe: | 81 elif codingState == constants.eItsMe: |
82 self._mState = constants.eFoundIt | 82 self._mState = constants.eFoundIt |
83 self._mDetectedCharset = codingSM.get_coding_state_machine()
# nopep8 | 83 self._mDetectedCharset = codingSM.get_coding_state_machine()
# nopep8 |
84 return self.get_state() | 84 return self.get_state() |
85 | 85 |
86 return self.get_state() | 86 return self.get_state() |
OLD | NEW |