running lib2to3.fixes.fix_reduce

This commit is contained in:
ilvalle
2016-05-27 15:25:09 +02:00
parent ec8ea53917
commit d22222ebea
9 changed files with 9 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ import shutil
import imp
import logging
import types
from functools import reduce
logger = logging.getLogger("web2py")
from gluon import rewrite
from custom_import import custom_import_install
+1
View File
@@ -1,6 +1,7 @@
import json
from collections import OrderedDict
from gluon import URL, IS_SLUG
from functools import reduce
# compliant with https://github.com/collection-json/spec
# also compliant with http://code.ge/media-types/collection-next-json/
+1
View File
@@ -15,6 +15,7 @@ from gluon.http import HTTP, redirect
#requires M2Crypto
from M2Crypto import X509
from functools import reduce
class X509Auth(object):
+1
View File
@@ -21,6 +21,7 @@ import sanitizer
import itertools
import decoder
import copy_reg
from functools import reduce
try:
import cPickle as pickle
except:
+1
View File
@@ -21,6 +21,7 @@ import datetime
import platform
import portalocker
import fileutils
from functools import reduce
try:
import cPickle as pickle
except:
+1
View File
@@ -29,6 +29,7 @@ from gluon import DAL, Field, IS_NOT_EMPTY, IS_IN_SET, IS_NOT_IN_DB
from gluon import IS_INT_IN_RANGE, IS_DATETIME, IS_IN_DB
from gluon.utils import web2py_uuid
from gluon.storage import Storage
from functools import reduce
USAGE = """
## Example
+1
View File
@@ -39,6 +39,7 @@ from gluon.validators import IS_STRONG
import gluon.serializers as serializers
from gluon.globals import current
from functools import reduce
try:
import gluon.settings as settings
+1
View File
@@ -11,6 +11,7 @@ Auth, Mail, PluginManager and various utilities
"""
import base64
from functools import reduce
try:
import cPickle as pickle
except:
+1
View File
@@ -24,6 +24,7 @@ import unicodedata
from cStringIO import StringIO
from gluon.utils import simple_hash, web2py_uuid, DIGEST_ALG_BY_SIZE
from pydal.objects import Field, FieldVirtual, FieldMethod
from functools import reduce
regex_isint = re.compile('^[+-]?\d+$')