Created
July 18, 2012 02:19
-
-
Save jdunck/3133664 to your computer and use it in GitHub Desktop.
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
# from http://artificialcode.blogspot.com/2009/08/10-ways-to-let-people-know-your-bad.html | |
def api_entry_point(): | |
try: | |
obj.method() | |
except: | |
#lets not bother the developer with this exception. He should quit out immediately! | |
import sys | |
sys.exit(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment