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 # Shy Shalom | 5 # Shy Shalom |
6 # Portions created by the Initial Developer are Copyright (C) 2005 | 6 # Portions created by the Initial Developer are Copyright (C) 2005 |
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 # (finalsub > 0 - Logical) or (don't know what to do) default to | 274 # (finalsub > 0 - Logical) or (don't know what to do) default to |
275 # Logical. | 275 # Logical. |
276 return LOGICAL_HEBREW_NAME | 276 return LOGICAL_HEBREW_NAME |
277 | 277 |
278 def get_state(self): | 278 def get_state(self): |
279 # Remain active as long as any of the model probers are active. | 279 # Remain active as long as any of the model probers are active. |
280 if (self._mLogicalProber.get_state() == eNotMe) and \ | 280 if (self._mLogicalProber.get_state() == eNotMe) and \ |
281 (self._mVisualProber.get_state() == eNotMe): | 281 (self._mVisualProber.get_state() == eNotMe): |
282 return eNotMe | 282 return eNotMe |
283 return eDetecting | 283 return eDetecting |
OLD | NEW |