Created
October 10, 2011 08:23
-
-
Save reorx/1274856 to your computer and use it in GitHub Desktop.
prepare demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def prepare(self): | |
| """ | |
| watch out _prepare* functions' sequence | |
| NOTE: WITHOUT JUDGING self._finished THERE WILL BE BIG PROBLEMS | |
| """ | |
| self._prepare_debug() | |
| if self._finished: return | |
| self._prepare_mobile() | |
| if self._finished: return | |
| self._prepare_auth() | |
| if self._finished: return | |
| self._prepare_params() | |
| if self._finished: return | |
| self._prepare_web() | |
| if self._finished: return | |
| self._prepare_others() | |
| if self._finished: return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment