Added stub for the Queue module to be renamed in 3.0.

Use the 3.0 module name to avoid spurious warnings.
This commit is contained in:
Alexandre Vassalotti 2008-05-11 19:39:48 +00:00
parent ca3ccd15ff
commit 30ece44f2e
8 changed files with 276 additions and 268 deletions

View file

@ -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)