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 41 matching lines...) Loading... |
52 + byteCls) | 52 + byteCls) |
53 self._mCurrentState = self._mModel['stateTable'][curr_state] | 53 self._mCurrentState = self._mModel['stateTable'][curr_state] |
54 self._mCurrentBytePos += 1 | 54 self._mCurrentBytePos += 1 |
55 return self._mCurrentState | 55 return self._mCurrentState |
56 | 56 |
57 def get_current_charlen(self): | 57 def get_current_charlen(self): |
58 return self._mCurrentCharLen | 58 return self._mCurrentCharLen |
59 | 59 |
60 def get_coding_state_machine(self): | 60 def get_coding_state_machine(self): |
61 return self._mModel['name'] | 61 return self._mModel['name'] |
OLD | NEW |