Skip to content

Commit 9364228

Browse files
Daniel NunesInfernio
authored andcommitted
Prepare builtin reduce changes for py3
1 parent 3e63caf commit 9364228

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

Mopy/bash/basher/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
import sys
6161
import time
6262
from collections import OrderedDict
63-
from functools import partial
63+
from functools import partial, reduce
6464
from operator import itemgetter
6565
#--wxPython
6666
import wx

Mopy/bash/cint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
POINTER, string_at, Structure, c_int, c_void_p
4444
import math
4545
import os
46+
from functools import reduce
4647
from os.path import exists, join
4748
try:
4849
#See if cint is being used by Wrye Bash

Mopy/bash/patcher/patchers/importers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"""This module contains the oblivion importer patcher classes."""
2626
import re
2727
from collections import defaultdict, Counter
28+
from functools import reduce
2829
from itertools import chain
2930
# Internal
3031
from .base import ImportPatcher, CBash_ImportPatcher

0 commit comments

Comments
 (0)