spark-instrumented-optimizer/dev/create-release
wright 4915cb3adf [MINOR][BUILD] ensure call to translate_component has correct number of arguments
## What changes were proposed in this pull request?

The call to `translate_component` only supplied 2 out of the 3 required arguments. I added a default empty list for the missing argument to avoid a run-time error.

I work for Semmle, and noticed the bug with our LGTM code analyzer:
0655f1624f/files/dev/create-release/releaseutils.py?sort=name&dir=ASC&mode=heatmap#x1434915b6576fb40:1

## How was this patch tested?

I checked that  `./dev/run-tests` pass OK.

Closes #23567 from ipwright/wrong-number-of-arguments-fix.

Authored-by: wright <wright@semmle.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
2019-01-16 21:00:58 -06:00
..
spark-rm [SPARK-24530][FOLLOWUP] run Sphinx with python 3 in docker 2018-10-02 10:10:22 -07:00
do-release-docker.sh [SPARK-24530][FOLLOWUP] run Sphinx with python 3 in docker 2018-10-02 10:10:22 -07:00
do-release.sh [SPARK-24372][BUILD] Add scripts to help with preparing releases. 2018-06-22 12:38:34 -05:00
generate-contributors.py [SPARK-25238][PYTHON] lint-python: Fix W605 warnings for pycodestyle 2.4 2018-09-13 11:19:43 +08:00
known_translations [MINOR] update known_translations 2018-11-06 14:52:02 -08:00
release-build.sh [MINOR][BUILD] Remove binary license/notice files in a source release for branch-2.4+ only 2019-01-14 19:17:39 -06:00
release-tag.sh [MINOR][BUILD] Fix script name in release-tag.sh usage message 2019-01-06 22:45:18 -08:00
release-util.sh [SPARK-26554][BUILD][FOLLOWUP] Use GitHub instead of GitBox to check HEADER 2019-01-07 17:54:05 -08:00
releaseutils.py [MINOR][BUILD] ensure call to translate_component has correct number of arguments 2019-01-16 21:00:58 -06:00
translate-contributors.py [SPARK-19002][BUILD][PYTHON] Check pep8 against all Python scripts 2017-01-02 15:23:19 +00:00
vote.tmpl [SPARK-24372][BUILD] Add scripts to help with preparing releases. 2018-06-22 12:38:34 -05:00