Last active
August 9, 2016 18:40
-
-
Save sdshlanta/b8af9a862d9c59b785739c3a361d7353 to your computer and use it in GitHub Desktop.
This file contains 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 boilerPlate(servName): | |
def realDec(opener): | |
def newOpen(*args, **kwargs): | |
while not TheEndOfTime: | |
try: | |
opener(*args, **kwargs) | |
except Exception, e: | |
if debug: | |
print servName | |
print e | |
else: | |
pass | |
delay() | |
return newOpen | |
return realDec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment