Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if response.status:
if self.write:
with open(self.filename, "w") as data:
data.writelines("\n" + host + "--" + str(response.status))
print "%s Status: %s" % (host, response.status)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.