mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-04 23:01:11 +00:00
Import reduce via functools
In Python3 reduce must be imported from functools, python2.6 supports the import as a "nop". Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
b15a93459c
commit
4a1bee1fc9
@ -194,6 +194,7 @@ from excuse import Excuse
|
||||
from migrationitem import MigrationItem, HintItem
|
||||
from hints import HintCollection
|
||||
from britney import buildSystem
|
||||
from functools import reduce
|
||||
|
||||
__author__ = 'Fabio Tranchitella and the Debian Release Team'
|
||||
__version__ = '2.0'
|
||||
|
Loading…
x
Reference in New Issue
Block a user