@@ -47,20 +47,6 @@ def make_sha(source=''):
return sha1
-try:
- all = all
-except NameError:
- # Implementation of all from Python 2.6 documentation:
- # http://docs.python.org/2.6/library/functions.html#all
- # Copyright (c) 2001-2010 Python Software Foundation; All Rights Reserved
- # Licensed under the Python Software Foundation License.
- def all(iterable):
- for element in iterable:
- if not element:
- return False
- return True
-
try:
from collections import namedtuple
except ImportError:
@@ -25,9 +25,6 @@ import collections
import heapq
import itertools
-from dulwich._compat import (
- all,
- )
from dulwich.diff_tree import (
RENAME_CHANGE_TYPES,
tree_changes,