diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:39:48 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:39:48 (GMT) |
commit | 30ece44f2e5397e8501380349fd5278e6f64f555 (patch) | |
tree | 769eb0873f3fdeeb6be8bbf1b661418fbf56d48c /Tools | |
parent | ca3ccd15ffa92423dac6cdda82507eb45347c1d4 (diff) | |
download | cpython-30ece44f2e5397e8501380349fd5278e6f64f555.zip cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.gz cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.bz2 |
Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/webchecker/wsgui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/webchecker/wsgui.py b/Tools/webchecker/wsgui.py index 95c7ab9..b2223c4 100755 --- a/Tools/webchecker/wsgui.py +++ b/Tools/webchecker/wsgui.py @@ -10,7 +10,7 @@ from Tkinter import * import websucker import os import threading -import Queue +import queue import time VERBOSE = 2 @@ -139,7 +139,7 @@ class App: def go(self, event=None): if not self.msgq: - self.msgq = Queue.Queue(0) + self.msgq = queue.Queue(0) self.check_msgq() if not self.sucker: self.sucker = SuckerThread(self.msgq) |