summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-13 06:32:25 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-13 06:32:25 (GMT)
commitf992640ed39d2865920237a3454bdffb117fe6bc (patch)
tree2687db169d72a803ee9ef2411ee085532dcbe02a /Lib/idlelib/rpc.py
parent7634ff5ad6d141cab8d33fcff788b65e064a8104 (diff)
downloadcpython-f992640ed39d2865920237a3454bdffb117fe6bc.zip
cpython-f992640ed39d2865920237a3454bdffb117fe6bc.tar.gz
cpython-f992640ed39d2865920237a3454bdffb117fe6bc.tar.bz2
Fix last traces of old threading API.
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index a749353..d4af81d 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -149,7 +149,7 @@ class SocketIO(object):
def debug(self, *args):
if not self.debugging:
return
- s = self.location + " " + str(threading.current_thread().getName())
+ s = self.location + " " + str(threading.current_thread().get_name())
for a in args:
s = s + " " + str(a)
print(s, file=sys.__stderr__)