Skip to content

Commit 839ff05

Browse files
committed
Get away from master/slave language
1 parent d182625 commit 839ff05

File tree

29 files changed

+121
-121
lines changed

29 files changed

+121
-121
lines changed

env/lib/python3.8/site-packages/pip/_internal/vcs/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def update(self, dest, url, rev_options):
226226
self.run_command(['fetch', '-q', '--tags'], cwd=dest)
227227
else:
228228
self.run_command(['fetch', '-q'], cwd=dest)
229-
# Then reset to wanted revision (maybe even origin/master)
229+
# Then reset to wanted revision (maybe even origin/main)
230230
rev_options = self.resolve_revision(dest, url, rev_options)
231231
cmd_args = ['reset', '--hard', '-q'] + rev_options.to_args()
232232
self.run_command(cmd_args, cwd=dest)

env/lib/python3.8/site-packages/pip/_vendor/pkg_resources/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@ def __init__(self, entries=None):
567567
self.add_entry(entry)
568568

569569
@classmethod
570-
def _build_master(cls):
570+
def _build_main(cls):
571571
"""
572-
Prepare the master working set.
572+
Prepare the main working set.
573573
"""
574574
ws = cls()
575575
try:
@@ -3239,9 +3239,9 @@ def _initialize(g=globals()):
32393239

32403240

32413241
@_call_aside
3242-
def _initialize_master_working_set():
3242+
def _initialize_main_working_set():
32433243
"""
3244-
Prepare the master working set and make the ``require()``
3244+
Prepare the main working set and make the ``require()``
32453245
API available.
32463246
32473247
This function has explicit effects on the global state
@@ -3251,7 +3251,7 @@ def _initialize_master_working_set():
32513251
Invocation by other packages is unsupported and done
32523252
at their own risk.
32533253
"""
3254-
working_set = WorkingSet._build_master()
3254+
working_set = WorkingSet._build_main()
32553255
_declare_state('object', working_set=working_set)
32563256

32573257
require = working_set.require

env/lib/python3.8/site-packages/pkg_resources/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@ def __init__(self, entries=None):
567567
self.add_entry(entry)
568568

569569
@classmethod
570-
def _build_master(cls):
570+
def _build_main(cls):
571571
"""
572-
Prepare the master working set.
572+
Prepare the main working set.
573573
"""
574574
ws = cls()
575575
try:
@@ -3248,9 +3248,9 @@ def _initialize(g=globals()):
32483248

32493249

32503250
@_call_aside
3251-
def _initialize_master_working_set():
3251+
def _initialize_main_working_set():
32523252
"""
3253-
Prepare the master working set and make the ``require()``
3253+
Prepare the main working set and make the ``require()``
32543254
API available.
32553255
32563256
This function has explicit effects on the global state
@@ -3260,7 +3260,7 @@ def _initialize_master_working_set():
32603260
Invocation by other packages is unsupported and done
32613261
at their own risk.
32623262
"""
3263-
working_set = WorkingSet._build_master()
3263+
working_set = WorkingSet._build_main()
32643264
_declare_state('object', working_set=working_set)
32653265

32663266
require = working_set.require

env/lib/python3.8/site-packages/setuptools/command/easy_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ def update_dist_caches(dist_path, fix_zipimporter_caches):
17811781
# There are several other known sources of stale zipimport.zipimporter
17821782
# instances that we do not clear here, but might if ever given a reason to
17831783
# do so:
1784-
# * Global setuptools pkg_resources.working_set (a.k.a. 'master working
1784+
# * Global setuptools pkg_resources.working_set (a.k.a. 'main working
17851785
# set') may contain distributions which may in turn contain their
17861786
# zipimport.zipimporter loaders.
17871787
# * Several zipimport.zipimporter loaders held by local variables further

restaurant_bot/env/lib/python3.8/site-packages/OpenSSL/SSL.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,20 +2135,20 @@ def client_random(self):
21352135
_lib.SSL_get_client_random(self._ssl, outp, length)
21362136
return _ffi.buffer(outp, length)[:]
21372137

2138-
def master_key(self):
2138+
def main_key(self):
21392139
"""
2140-
Retrieve the value of the master key for this session.
2140+
Retrieve the value of the main key for this session.
21412141
21422142
:return: A string representing the state
21432143
"""
21442144
session = _lib.SSL_get_session(self._ssl)
21452145
if session == _ffi.NULL:
21462146
return None
21472147

2148-
length = _lib.SSL_SESSION_get_master_key(session, _ffi.NULL, 0)
2148+
length = _lib.SSL_SESSION_get_main_key(session, _ffi.NULL, 0)
21492149
assert length > 0
21502150
outp = _no_zero_allocator("unsigned char[]", length)
2151-
_lib.SSL_SESSION_get_master_key(session, outp, length)
2151+
_lib.SSL_SESSION_get_main_key(session, outp, length)
21522152
return _ffi.buffer(outp, length)[:]
21532153

21542154
def export_keying_material(self, label, olen, context=None):

restaurant_bot/env/lib/python3.8/site-packages/mysql/connector/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ class RefreshOption(_Constants):
543543
'HOSTS': (1 << 3, 'Flush host cache'),
544544
'STATUS': (1 << 4, 'Flush status variables'),
545545
'THREADS': (1 << 5, 'Flush thread cache'),
546-
'SLAVE': (1 << 6, 'Reset master info and restart slave thread'),
546+
'SLAVE': (1 << 6, 'Reset main info and restart subordinate thread'),
547547
}
548548

549549

restaurant_bot/env/lib/python3.8/site-packages/mysql/connector/locales/eng/client_error.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
CR_EMBEDDED_CONNECTION = u"Embedded server"
5858
CR_PROBE_SLAVE_STATUS = u"Error on SHOW SLAVE STATUS:"
5959
CR_PROBE_SLAVE_HOSTS = u"Error on SHOW SLAVE HOSTS:"
60-
CR_PROBE_SLAVE_CONNECT = u"Error connecting to slave:"
61-
CR_PROBE_MASTER_CONNECT = u"Error connecting to master:"
60+
CR_PROBE_SLAVE_CONNECT = u"Error connecting to subordinate:"
61+
CR_PROBE_MASTER_CONNECT = u"Error connecting to main:"
6262
CR_SSL_CONNECTION_ERROR = u"SSL connection error: %-.100s"
6363
CR_MALFORMED_PACKET = u"Malformed packet"
6464
CR_WRONG_LICENSE = u"This client library is licensed only for use with MySQL servers having '%s' license"

restaurant_bot/env/lib/python3.8/site-packages/mysqlx/locales/eng/client_error.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
CR_EMBEDDED_CONNECTION = u"Embedded server"
5858
CR_PROBE_SLAVE_STATUS = u"Error on SHOW SLAVE STATUS:"
5959
CR_PROBE_SLAVE_HOSTS = u"Error on SHOW SLAVE HOSTS:"
60-
CR_PROBE_SLAVE_CONNECT = u"Error connecting to slave:"
61-
CR_PROBE_MASTER_CONNECT = u"Error connecting to master:"
60+
CR_PROBE_SLAVE_CONNECT = u"Error connecting to subordinate:"
61+
CR_PROBE_MASTER_CONNECT = u"Error connecting to main:"
6262
CR_SSL_CONNECTION_ERROR = u"SSL connection error: %-.100s"
6363
CR_MALFORMED_PACKET = u"Malformed packet"
6464
CR_WRONG_LICENSE = u"This client library is licensed only for use with MySQL servers having '%s' license"

restaurant_bot/env/lib/python3.8/site-packages/pip/_internal/vcs/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def update(self, dest, url, rev_options):
250250
self.run_command(['fetch', '-q', '--tags'], cwd=dest)
251251
else:
252252
self.run_command(['fetch', '-q'], cwd=dest)
253-
# Then reset to wanted revision (maybe even origin/master)
253+
# Then reset to wanted revision (maybe even origin/main)
254254
rev_options = self.resolve_revision(dest, url, rev_options)
255255
cmd_args = make_command('reset', '--hard', '-q', rev_options.to_args())
256256
self.run_command(cmd_args, cwd=dest)

restaurant_bot/env/lib/python3.8/site-packages/pip/_vendor/pkg_resources/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,9 @@ def __init__(self, entries=None):
567567
self.add_entry(entry)
568568

569569
@classmethod
570-
def _build_master(cls):
570+
def _build_main(cls):
571571
"""
572-
Prepare the master working set.
572+
Prepare the main working set.
573573
"""
574574
ws = cls()
575575
try:
@@ -3248,9 +3248,9 @@ def _initialize(g=globals()):
32483248

32493249

32503250
@_call_aside
3251-
def _initialize_master_working_set():
3251+
def _initialize_main_working_set():
32523252
"""
3253-
Prepare the master working set and make the ``require()``
3253+
Prepare the main working set and make the ``require()``
32543254
API available.
32553255
32563256
This function has explicit effects on the global state
@@ -3260,7 +3260,7 @@ def _initialize_master_working_set():
32603260
Invocation by other packages is unsupported and done
32613261
at their own risk.
32623262
"""
3263-
working_set = WorkingSet._build_master()
3263+
working_set = WorkingSet._build_main()
32643264
_declare_state('object', working_set=working_set)
32653265

32663266
require = working_set.require

0 commit comments

Comments
 (0)