|
@@ -47,20 +47,6 @@ def make_sha(source=''):
|
|
return sha1
|
|
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:
|
|
try:
|
|
from collections import namedtuple
|
|
from collections import namedtuple
|
|
except ImportError:
|
|
except ImportError:
|