Skip to content

Commit 0584ab3

Browse files
committed
remove all insensitive language we have control over
1 parent 8a78fdd commit 0584ab3

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

bisect-benchmark.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bisect-benchmark]
22
# This is the configuration file for bisecting benchmark jobs in the CI.
33
# Usage:
4-
# - Create a temporary branch based on master (or the bad commit)
4+
# - Create a temporary branch based on the main branch (or the bad commit)
55
# - Fill in this configuration file, commit the changes and push it
66
# - The push command output should give you a link to create a PR. Open it, but
77
# don't create a PR. Instead, you should execute the job on your commit using

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/SocketTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ private static ByteArraySupport nativeByteArraySupport() {
873873
}
874874

875875
private static boolean isInet6Supported() {
876-
// Linux CI slaves currently do not support IPv6 reliably
876+
// Linux CI machines currently do not support IPv6 reliably
877877
return !(runsOnCi() && runsOnLinux());
878878
}
879879

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/debug/PythonDebugTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public void testInspectJavaArray() throws Throwable {
453453
@Test
454454
public void testSourceFileURI() throws Throwable {
455455
if (System.getProperty("os.name").toLowerCase().contains("mac")) {
456-
// on the mac slaves we run with symlinked directories and such and it's annoying to
456+
// on the mac machines we run with symlinked directories and such and it's annoying to
457457
// cater for that
458458
return;
459459
}

graalpython/com.oracle.graal.python.test/testData/testFiles/RuntimeFileTests/sre_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Verbose(Exception):
7272
pass
7373

7474
class Pattern:
75-
# master pattern object. keeps track of global attributes
75+
# main pattern object. keeps track of global attributes
7676
def __init__(self):
7777
self.flags = 0
7878
self.groupdict = {}

mx.graalpython/mx_graalpython.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def update_unittest_tags(args):
363363
linux_tags = _fetch_tags_for_platform(parsed_args, 'linux')
364364
darwin_tags = _fetch_tags_for_platform(parsed_args, 'darwin')
365365

366-
tag_blacklist = {
366+
tag_exclusions = {
367367
# This test times out in the gate even though it succeeds locally and in the retagger. Race condition?
368368
('test_cprofile.txt', '*graalpython.lib-python.3.test.test_cprofile.CProfileTest.test_run_profile_as_module'),
369369
# The following two try to read bytecode and fail randomly as our co_code is changing
@@ -378,7 +378,7 @@ def update_unittest_tags(args):
378378
('test_import.txt', '*graalpython.lib-python.3.test.test_import.__init__.ImportTests.test_concurrency'),
379379
}
380380

381-
result_tags = linux_tags & darwin_tags - tag_blacklist
381+
result_tags = linux_tags & darwin_tags - tag_exclusions
382382
if not parsed_args.untag:
383383
result_tags |= current_tags
384384
_write_tags(result_tags)
@@ -1004,17 +1004,17 @@ def getResults(self):
10041004
return results
10051005

10061006

1007-
def deploy_binary_if_master(args):
1008-
"""if the active branch is 'master', deploy binaries for the primary suite to remote maven repository."""
1009-
master_branch = 'master'
1007+
def deploy_binary_if_main(args):
1008+
"""if the active branch is the main branch, deploy binaries for the primary suite to remote maven repository."""
1009+
main_branch = 'master'
10101010
active_branch = mx.VC.get_vc(SUITE.dir).active_branch(SUITE.dir)
1011-
if active_branch == master_branch:
1011+
if active_branch == main_branch:
10121012
if sys.platform == "darwin":
10131013
args.insert(0, "--platform-dependent")
10141014
return mx.command_function('deploy-binary')(args)
10151015
else:
10161016
mx.log('The active branch is "%s". Binaries are deployed only if the active branch is "%s".' % (
1017-
active_branch, master_branch))
1017+
active_branch, main_branch))
10181018
return 0
10191019

10201020

@@ -1117,7 +1117,7 @@ def update_import_cmd(args):
11171117
vc.set_branch(d, current_branch, with_remote=False)
11181118
vc.git_command(d, ["checkout", current_branch], abortOnError=True)
11191119
else:
1120-
mx.abort("repo %s is not on master or on %s" % (d, current_branch))
1120+
mx.abort("repo %s is not on the main branch or on %s" % (d, current_branch))
11211121

11221122
# make sure we can update the overlays
11231123
overlaydir = join(SUITE.dir, "..", "ci-overlays")
@@ -1135,7 +1135,7 @@ def update_import_cmd(args):
11351135
elif overlaybranch == current_branch:
11361136
pass
11371137
else:
1138-
mx.abort("overlays repo must be on master or branch %s" % current_branch)
1138+
mx.abort("overlays repo must be on the main branch or branch %s" % current_branch)
11391139

11401140
# find all imports we might update
11411141
imports_to_update = set()
@@ -2213,7 +2213,7 @@ def run_leak_launcher(input_args, out=None):
22132213
'python-build-watch': [python_build_watch, ''],
22142214
'python': [python, '[Python args|@VM options]'],
22152215
'python3': [python, '[Python args|@VM options]'],
2216-
'deploy-binary-if-master': [deploy_binary_if_master, ''],
2216+
'deploy-binary-if-master': [deploy_binary_if_main, ''],
22172217
'python-gate': [python_gate, '--tags [gates]'],
22182218
'python-update-import': [update_import_cmd, '[--no-pull] [import-name, default: truffle]'],
22192219
'python-style': [python_style_checks, '[--fix] [--no-spotbugs]'],

0 commit comments

Comments
 (0)