@ -13,10 +13,10 @@ __version__ = '1.8.0'
# change). We should add it as our presubmit scripts start feeling slow.
# change). We should add it as our presubmit scripts start feeling slow.
import ast # Exposed through the API.
import ast # Exposed through the API.
import c pplint
import c ontextlib
import cPickle # Exposed through the API.
import cPickle # Exposed through the API.
import cpplint
import cStringIO # Exposed through the API.
import cStringIO # Exposed through the API.
import contextlib
import fnmatch # Exposed through the API.
import fnmatch # Exposed through the API.
import glob
import glob
import inspect
import inspect
@ -44,7 +44,7 @@ from warnings import warn
# Local imports.
# Local imports.
import fix_encoding
import fix_encoding
import gclient_utils
import gclient_utils # Exposed through the API
import git_footers
import git_footers
import gerrit_util
import gerrit_util
import owners
import owners
@ -549,15 +549,16 @@ class InputApi(object):
self . cpplint = cpplint
self . cpplint = cpplint
self . cStringIO = cStringIO
self . cStringIO = cStringIO
self . fnmatch = fnmatch
self . fnmatch = fnmatch
self . gclient_utils = gclient_utils
self . glob = glob . glob
self . glob = glob . glob
self . json = json
self . json = json
self . logging = logging . getLogger ( ' PRESUBMIT ' )
self . logging = logging . getLogger ( ' PRESUBMIT ' )
self . marshal = marshal
self . os_listdir = os . listdir
self . os_listdir = os . listdir
self . os_walk = os . walk
self . os_path = os . path
self . os_path = os . path
self . os_stat = os . stat
self . os_stat = os . stat
self . os_walk = os . walk
self . pickle = pickle
self . pickle = pickle
self . marshal = marshal
self . re = re
self . re = re
self . subprocess = subprocess
self . subprocess = subprocess
self . tempfile = tempfile
self . tempfile = tempfile