Commit 82e5f28e authored by maruel@chromium.org's avatar maruel@chromium.org

Improve presubmit_support main by not stripping arguments.

Necessary for commit queue.

R=dpranke@chromium.org


Review URL: http://codereview.chromium.org/6698041

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@78538 0039d316-1c4b-4281-b951-d872f2087c98
parent b68786e8
......@@ -1143,7 +1143,7 @@ def Main(argv):
"system directories will also be searched.")
parser.add_option("--default_presubmit")
parser.add_option("--may_prompt", action='store_true', default=False)
options, args = parser.parse_args(argv[1:])
options, args = parser.parse_args(argv)
if options.verbose:
logging.basicConfig(level=logging.DEBUG)
if os.path.isdir(os.path.join(options.root, '.svn')):
......@@ -1195,4 +1195,4 @@ def Main(argv):
if __name__ == '__main__':
sys.exit(Main(sys.argv))
sys.exit(Main(None))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment