From d9a7cd1da64da57bea05e5b234b9d9c6fea7f911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 11 Apr 2010 01:39:31 +0200 Subject: applied 2to3 and fixed the result --- portato/waiting_queue.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'portato/waiting_queue.py') diff --git a/portato/waiting_queue.py b/portato/waiting_queue.py index 1e3f7ad..64fe727 100644 --- a/portato/waiting_queue.py +++ b/portato/waiting_queue.py @@ -10,8 +10,6 @@ # # Written by René 'Necoro' Neumann -from __future__ import absolute_import - from threading import Thread, Event from Queue import Queue @@ -19,7 +17,7 @@ class WaitingQueue (Queue): def __init__ (self, setTrue = True, threadClass = Thread): if not issubclass(threadClass, Thread): - raise ValueError, "Only subclasses of threading.Thread are allowed." + raise ValueError("Only subclasses of threading.Thread are allowed.") Queue.__init__(self) self.event = Event() -- cgit v1.2.3