This reverts commit 7fbd7fc4f863e46a81e2153ebdd53ab2bb560d20.
Matt Clay authored on 2017/06/20 07:46:19... | ... |
@@ -177,13 +177,6 @@ try: |
177 | 177 |
except ImportError: |
178 | 178 |
pass |
179 | 179 |
|
180 |
-#fix for python <2.4 compatibility |
|
181 |
-if sys.version_info[0] < 3 and version_info[1] < 5: |
|
182 |
- def any(iterable): |
|
183 |
- for element in iterable: |
|
184 |
- if element: |
|
185 |
- return True |
|
186 |
- return False |
|
187 | 180 |
|
188 | 181 |
class TCPConnectionInfo(object): |
189 | 182 |
""" |