summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BitTorrent/Connecter.py3
-rw-r--r--BitTorrent/ConvertedMetainfo.py3
-rw-r--r--BitTorrent/IPC.py3
-rw-r--r--BitTorrent/download.py2
4 files changed, 1 insertions, 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