From d078185d388f1b671d2b2eff3bf19c0ee0c8926d Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Tue, 12 Aug 2008 23:29:08 -0500 Subject: No need for 'from __future__ import generators' --- BitTorrent/Connecter.py | 3 --- BitTorrent/ConvertedMetainfo.py | 3 --- BitTorrent/IPC.py | 3 +-- BitTorrent/download.py | 2 -- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/BitTorrent/Connecter.py b/BitTorrent/Connecter.py index 33909ce..5fc3add 100644 --- a/BitTorrent/Connecter.py +++ b/BitTorrent/Connecter.py @@ -10,9 +10,6 @@ # Originally written by Bram Cohen, heavily modified by Uoti Urpala -# required for python 2.2 -from __future__ import generators - from binascii import b2a_hex from struct import pack, unpack diff --git a/BitTorrent/ConvertedMetainfo.py b/BitTorrent/ConvertedMetainfo.py index 20a6fc8..0e22205 100644 --- a/BitTorrent/ConvertedMetainfo.py +++ b/BitTorrent/ConvertedMetainfo.py @@ -10,9 +10,6 @@ # Written by Uoti Urpala -# required for Python 2.2 -from __future__ import generators - import os import sys from sha import sha diff --git a/BitTorrent/IPC.py b/BitTorrent/IPC.py index 9c1ef0c..de50434 100644 --- a/BitTorrent/IPC.py +++ b/BitTorrent/IPC.py @@ -10,7 +10,6 @@ # Written by Greg Hazel # based on code by Uoti Urpala -from __future__ import generators import os import socket @@ -439,4 +438,4 @@ if os.name == 'nt': ipc_interface = IPCWin32DDE else: ipc_interface = IPCUnixSocket - \ No newline at end of file + diff --git a/BitTorrent/download.py b/BitTorrent/download.py index 27f2bfd..d17b685 100644 --- a/BitTorrent/download.py +++ b/BitTorrent/download.py @@ -11,8 +11,6 @@ # Written by Bram Cohen and Uoti Urpala from __future__ import division -# required for python 2.2 -from __future__ import generators import os import sys -- cgit