Skip to content

Instantly share code, notes, and snippets.

@jk0
Created November 15, 2010 17:05
Show Gist options
  • Save jk0/700605 to your computer and use it in GitHub Desktop.
Save jk0/700605 to your computer and use it in GitHub Desktop.
diff --git a/svcshare/network.py b/svcshare/network.py
index 3abb688..7b1af2a 100644
--- a/svcshare/network.py
+++ b/svcshare/network.py
@@ -62,6 +62,8 @@ class Network(object):
return self._isolation
def isolationIs(self, iso):
+ if not hasattr(threading.Thread, "is_alive"):
+ threading.Thread.is_alive = threading.Thread.isAlive
if iso == 'isolated':
self._isolation = ISOLATION[iso]
self._bot.disconnect()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment